- Home
- Forum
- ASP.NET MVC
- @Html.EJ().Tooltip doesn't work
@Html.EJ().Tooltip doesn't work
Hi
I tried using @Html.EJ().Tooltip with your sample code in my MVC application but it doesn't work.
<div class="frame"> <div class="img" id="sample1"> <a target="_blank" rel='nofollow' href="image/taj.png"> <img src="http://mvc.syncfusion.com/demos/web/content/images/tooltip/template-05.png" alt="Delphi"> </a> <div class="desc">Delphi Succinctly</div> </div> </div> @Html.EJ().Tooltip("sample1").Content("Learn the fundamentals of Delphi to build a variety of solutions for many devices and platforms.") <style> div.img { border: 1px solid #ccc; width: 159px; height: 213px; left: 35%; position: relative; top: 20%; } div.img img { width: 159px; height: 179px; } div.desc { padding: 8px; text-align: center; } </style>
I tried with javascrit and it work !
<script> $("#sample1").ejTooltip( { content: "JavaScript is the programming language of HTML and the Web." }); </script>
What's wrong ?
SIGN IN To post a reply.
7 Replies
KR
Keerthana Rajendran
Syncfusion Team
July 3, 2017 05:00 AM UTC
Hi Nicola,
Thank you for contacting Syncfusion support.
We have prepared a sample using the attached code and we were unable to reproduce the issue. Please refer to the below given sample link .
Ensure whether script manager has been rendered in the Layout page as
|
@Html.EJ().ScriptManager() |
If you are rendering the control in unobtrusive mode, kindly check whether ej.unobtrusive.min.js file has been referred in the Layout.cshtml page.
Regards,
Keerthana.
NI
Nicola
July 3, 2017 10:16 AM UTC
Thank you very much but the problem was in the web.config
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
if set it to false , works !
PO
Prince Oliver
Syncfusion Team
July 4, 2017 04:45 AM UTC
Hi Nicola,
Thank you for your update.
We are glad to know that your problem is resolved.
Regards,
Prince
PF
Pedro Faria
February 8, 2018 06:30 PM UTC
Hi, I'm having the same problem that was described in this post.
The Tooltips work fine when UnobtrusiveJavaScriptEnabled is set to false, but the moment I set it to true it stops working.
I need UnobtrusiveJavaScriptEnabled for the Jquery Unobtrusive Validation, so setting it false is not an option.
Can someone help me?
Thanks.
KR
Keerthana Rajendran
Syncfusion Team
February 9, 2018 06:10 AM UTC
Hi Pedro,
Sorry for the inconvenience.
Unobtrusive mode is rendered based on valid tags and tooltip control doesn’t provide any valid tags so currently this will not work with unobtrusive mode. We have already logged this as a feature and this will be included in any of our upcoming releases.
Regards,
Keerthana.
Hi Pedro,Sorry for the inconvenience.Unobtrusive mode is rendered based on valid tags and tooltip control doesn’t provide any valid tags so currently this will not work with unobtrusive mode. We have already logged this as a feature and this will be included in any of our upcoming releases.Regards,Keerthana.
Is there an ETA for the feature to be released?
Thanks
KR
Keerthana Rajendran
Syncfusion Team
February 13, 2018 12:54 PM UTC
Hi Pedro,
We will validate the feasibility to implement this feature in our end and prioritize this feature in the roadmap of upcoming release and update you the release timeline once the feature list has been finalized.
Regards,
Keerthana.
SIGN IN To post a reply.
- 7 Replies
- 4 Participants
-
NI Nicola
- Jun 30, 2017 08:46 AM UTC
- Feb 13, 2018 12:54 PM UTC