Hi,
Thanks for resolving my problem in the past. Here is another one and I spent 3 hours on this & cant figure out. Please help
I am using tooltip as a popup message control. I have two scenarios - one is using tooltip to display text and the other one is using tooltip to display content inside of control(s). In this case, i'll use label as the parameter for popup - see below
Let say I have two buttons and upon click - it will either call ShowPopupMessage(String) or ShowPopupMessage(Label control).
If I click on ShowPopupMessage(String) and then click on ShowPopupMessage(Label) - the 2nd popup does not show the right content. It is still showing ShowPopupMessage(String) content. Any idea? Thanks!
Thanks for resolving my problem in the past. Here is another one and I spent 3 hours on this & cant figure out. Please help
I am using tooltip as a popup message control. I have two scenarios - one is using tooltip to display text and the other one is using tooltip to display content inside of control(s). In this case, i'll use label as the parameter for popup - see below
Public Sub ShowPopupMessage(ByVal message As String) |
Dim popupMessage As New Telerik.Web.UI.RadToolTip |
pl.Controls.Add(popupMessage) |
SetPopupControlProperties(popupMessage) |
popupMessage.Text = message |
End Sub |
Public Sub ShowPopupMessage(ByVal lbl As Label) |
Dim popupMessage As New Telerik.Web.UI.RadToolTip |
pl.Controls.Add(popupMessage) |
SetPopupControlProperties(popupMessage) |
popupMessage.Controls.Add(lbl) |
End Sub |
Let say I have two buttons and upon click - it will either call ShowPopupMessage(String) or ShowPopupMessage(Label control).
If I click on ShowPopupMessage(String) and then click on ShowPopupMessage(Label) - the 2nd popup does not show the right content. It is still showing ShowPopupMessage(String) content. Any idea? Thanks!