PDA

View Full Version : [CLOSED] ToolTip : Tooltip not showing when page load in panel with loader



matrixwebtech
Jun 16, 2015, 7:16 PM
Hi
I load a view in a panel with loader and view contains two images with tooltip


<ul>
<li>
<a href="javascript:void(0)" id="a3">
<img src="~/Content/ess/daily_attendance.png" width="40" />
@(X.ToolTip()
.Html("Daily Attendence")
.Target("a3")
)
</a>
</li>
<li>
<a href="#" id="a4">
<img src="~/Content/ess/Attendence_Statement.png" width="40" />
@(X.ToolTip()
.Html("Attendence Statement")
.Target("a4")
)
</a>
</li>

</ul>


.Loader(
X.ComponentLoader()
.Url(Url.Action("landing", "essmenu"))
.LoadMask(m => m.ShowMask = true)
.Params(new Parameter("containerId", "Tab3"))
.Mode(LoadMode.Html)
)

tooltip not showing when point mouse on images .

Daniil
Jun 17, 2015, 8:37 AM
Hi @matrixwebtech,

Please post the landing controller action.

matrixwebtech
Jun 17, 2015, 8:57 AM
the action method essmenu is just return a view ,like bellow


public ActionResult essmenu()
{
return view("/Areas/folder1/views/landing/essmenu/Index.cshtml");
}

Daniil
Jun 23, 2015, 6:35 PM
Apologize for the delay in answering.

This code confuses me a little bit:

public ActionResult essmenu()

I guess you mean the Controller Action for this:

.Url(Url.Action("landing", "essmenu"))

But the second parameter is a Controller's name, not an Action's one.

I am now not sure how all is configured on your side. Please provide a full test case (but simplified).