Hi,
I'm trying to use RadToolTipManager with DN 4.05.01 but some problems appears.
I create a DNN module with one label and a RadToolTipManager, I want to use AjaxUpdate event to load dynamically label's tooltip. When my mouse is over the label, the tooltip opened and then close immediatly.
My DNN is Partial rendering, Ajax is enabled. Here's my code:
Test.ascx
What's wrong ?
Thanks.
I'm trying to use RadToolTipManager with DN 4.05.01 but some problems appears.
I create a DNN module with one label and a RadToolTipManager, I want to use AjaxUpdate event to load dynamically label's tooltip. When my mouse is over the label, the tooltip opened and then close immediatly.
My DNN is Partial rendering, Ajax is enabled. Here's my code:
Test.ascx
<asp:Label ID="Label1" runat="server" Text="Label" ToolTip="OK c'est un test"></asp:Label> |
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" > |
</telerik:RadToolTipManager> |
Test.ascx.vb
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
RadToolTipManager1.Width = 500 |
RadToolTipManager1.Height = 500 |
RadToolTipManager1.ShowEvent = Telerik.Web.UI.ToolTipShowEvent.OnMouseOver |
RadToolTipManager1.HideEvent = Telerik.Web.UI.ToolTipHideEvent.ManualClose |
RadToolTipManager1.TargetControls.Add(Label1.ClientID, True) |
End Sub |
Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate |
Dim oLabel As New System.Web.UI.LiteralControl |
oLabel.Text = "bravo" |
e.UpdatePanel.ContentTemplateContainer.Controls.Add(oLabel) |
End Sub |
What's wrong ?
Thanks.