I looked at a good way to display tooltips dynamically, and I found OverLibWrapper that was exactly what I needed.
I have all the tooltip data stored in the section, tooltips are bound to their respective controls at the time Page_Load.
I did a quick test and worked great. The problem arose when I realized that OverLibWrapper did not work on master pages. Our site uses quite a few master pages, so their choice is not an option.
I was wondering if there is something like OverLibWrapper that I could use.
EDIT:
What I'm looking for is a control for displaying attractive tooltips when hovering over the mouse, preferably instantly resembling an overlay (I can't imagine anything because I just show the raw text) dynamically because the tooltip property in ASP.NET is not very beautiful and takes some time to appear. For example, let's say I have a set of messages:
class Message
{
string ctrlid, msgtodisplay;
}
And when the page is loaded:
TooltipManager manager;
foreach(var m in messages)
{
Tooltip tltp=new Tooltip;
m.ControlID=m.ctrlid;
m.Message=m.msgtodisplay;
manager.AddTooltip(tltp);
}
This is basically what the Tooltip and TooltipManager functionality offers.
source
share