I followed the example in your demo, but for some reason whenever my mouse moves off the detail label it causes an entire page refresh. Has anyone had this happen or now of a quick setting to prevent this?
The application has multiple tabs and when the issue happens, the user has clicked into the second tab so the page itself is already in postback state.
Tooltip Manager source:
Code behind:
The application has multiple tabs and when the issue happens, the user has clicked into the second tab so the page itself is already in postback state.
Tooltip Manager source:
<
telerik:RadToolTipManager
runat
=
"server"
AnimationDuration
=
"300"
ShowDelay
=
"200"
EnableShadow
=
"true"
HideDelay
=
"0"
ID
=
"RadToolTipManager1"
Width
=
"463px"
Height
=
"220px"
RelativeTo
=
"Element"
Animation
=
"Slide"
Position
=
"BottomCenter"
OnAjaxUpdate
=
"OnAjaxUpdate"
Skin
=
"Telerik"
/>
Code behind:
Protected
Sub
rpExercise_ItemDataBound(sender
As
Object
, e
As
System.Web.UI.WebControls.RepeaterItemEventArgs)
Handles
rpExercise.ItemDataBound
Dim
lnkBtn
As
Label = e.Item.FindControl(
"lblDetails"
)
Dim
currentRow
As
System.Data.DataRowView =
DirectCast
(e.Item.DataItem, System.Data.DataRowView)
Me
.RadToolTipManager1.TargetControls.Add(lnkBtn.ClientID, currentRow.Row(
"id"
).ToString(),
True
)
End
Sub
Protected
Sub
OnAjaxUpdate(sender
As
Object
, args
As
ToolTipUpdateEventArgs)
Me
.UpdateToolTip(args.Value, args.UpdatePanel)
End
Sub
Private
Sub
UpdateToolTip(elementID
As
String
, panel
As
UpdatePanel)
Dim
lbl
As
New
Label
lbl.Text =
"Hi there"
panel.ContentTemplateContainer.Controls.Add(lbl)
End
Sub