Hi
I want to open a tooltip on click of a hyper link in radGrid,
I declared hyperlink in Template column as follows
<telerik:GridTemplateColumn HeaderText="Request Status">
<ItemTemplate>
<asp:LinkButton ID="lnkHyper" runat="server" Text="Click"
OnClick="lnkHyper_Click"></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
and my tooltip is as follows:
<telerik:RadToolTip ID="ConfirmToolTip" runat="server" Height="200px" Width="500px" TargetControlID="lnkHyper"
ManualClose="True" Position="Center" ShowCallout="False" Title="Confirmation Required"
Modal="True" Skin="Default1" EnableEmbeddedSkins="false" ShowEvent="OnClick" IsClientID="true">
<div>
<div>
<asp:Literal ID="ltClaim" Text="Do You Want to Confirm" runat="server" />
</div>
<div class="cmb_btnG cmb_ltFlt">
<asp:Button ID="btnOK" Text="OK" runat="server" CssClass="cmb_btnG" OnClick="btnOK_Click" />
</div>
<div class="cmb_sp13 cmb_ltFlt">
</div>
<div class="cmb_btnG ">
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CssClass="cmb_btnG" />
</div>
</div>
</telerik:RadToolTip>
In code behind I am writing following code to open the tooltip but my tooltip never opens, I am also debugged the code, debugger passes through the code but still the tooltip is not opening
protected void lnkHyper_Click(object sender, EventArgs e)
{
LinkButton _lnkhyper = (LinkButton)sender;
TableCell cell = _lnkhyper .Parent as TableCell;
GridDataItem item = cell.Parent as GridDataItem;
bool reqired=true;
if(required)
{
ConfirmToolTip.Show();
return;
}
}
I am unable to figure out the problem can any one help
Thanks