Hello,
I try to set RadToolTipManageron the RadGrid.
In code behind, I have
After the tooltip is opened, it is closed immediately. (I don't see "Test" text.)
Does anyone know if I miss anything?
Thanks,
Wai
I try to set RadToolTipManageron the RadGrid.
| <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Width="300px" Height="180px" Title="Products" Animation="None" ShowEvent="OnClick" AutoTooltipify="false" |
| AutoCloseDelay="100000" ShowCallout="false" Text="Loading..."> |
In code behind, I have
| Private Sub rgConfirmationReport_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgConfirmationReport.ItemDataBound |
| If TypeOf e.Item Is GridDataItem Then |
| Dim lbHistory As HyperLink = CType(e.Item.FindControl("hlHistory"), HyperLink) |
| If Not [Object].Equals(lbHistory, Nothing) Then |
| If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then |
| RadToolTipManager1.TargetControls.Add(lbHistory.ClientID, True) |
| End If |
| End If |
| End If |
| End Sub |
| Private Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate |
| Dim lblTest As New Label() |
| lblTest.Text = "Test" |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblTest) |
| End Sub |
After the tooltip is opened, it is closed immediately. (I don't see "Test" text.)
Does anyone know if I miss anything?
Thanks,
Wai