This is a migrated thread and some comments may be shown as answers.

ToolTip Manager, Content will not be loaded

1 Answer 34 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Rahel
Top achievements
Rank 1
Rahel asked on 17 Sep 2008, 08:45 AM
Hello,

I add a control to a tool tip manager. On mouseover I update the tooltip:

Step 1:
private
void UpdateToolTip(string elementID, UpdatePanel panel)
{    
Control ctrl = Page.LoadControl("TaskDetail.ascx");
    TaskDetail details = (TaskDetail)ctrl;
    details.TaskId = elementID;
    panel.ContentTemplateContainer.Controls.Add(details);
}

Step 2:
protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
this.UpdateToolTip(args.Value, args.UpdatePanel);
}

Step 3:
TaskDetail.ascx will be rendert.

But the shown tool tip havn't no content or data.

Thanks for support and help.

Rahel


 

1 Answer, 1 is accepted

Sort by
0
Rahel
Top achievements
Rank 1
answered on 17 Sep 2008, 10:31 AM
The problem based on a not working FormView.

Sorry...

Thanks
Tags
ToolTip
Asked by
Rahel
Top achievements
Rank 1
Answers by
Rahel
Top achievements
Rank 1
Share this question
or