Hello there.
I am still very new to telerik and most code in general, ive been wanting to use the tooltip as a information box. So lets say the user presses a button and submits their data, i want to - in the button event, be able to call the tooltip and show it including a label which i also set the text to from the button press.
So far all ive got is this:
I know the target is properly wrong, but ive run to a complete standstill and i hope that someone here can assist me in getting to where i wanna be.
kind regards.
Michael
I am still very new to telerik and most code in general, ive been wanting to use the tooltip as a information box. So lets say the user presses a button and submits their data, i want to - in the button event, be able to call the tooltip and show it including a label which i also set the text to from the button press.
So far all ive got is this:
<asp:Button ID=
"Button1"
runat=
"server"
Text=
"Button"
OnClick=
"Button1_Click"
/>
protected
void
Button1_Click(
object
sender, EventArgs e) { LabelStatus.Text =
"Tooltiptext"
;
// Show tooltip<br> }
<telerik:RadToolTipManager ID=
"RadToolTipManager1"
runat=
"server"
AnimationDuration=
"300"
Width=
"400px"
Height=
"80px"
Animation=
"Slide"
RelativeTo=
"BrowserWindow"
Position=
"TopCenter"
ShowEvent=
"FromCode"
OnAjaxUpdate=
"OnAjaxUpdate"
ShowCallout=
"true"
>
<TargetControls>
<telerik:ToolTipTargetControl TargetControlID=
"LabelStatus"
Value=
"LabelStatus"
/>
</TargetControls>
</telerik:RadToolTipManager>
I know the target is properly wrong, but ive run to a complete standstill and i hope that someone here can assist me in getting to where i wanna be.
kind regards.
Michael