Hi , I have a requirement to load a radgrid on Tooltip. According to i found that Documentation RadTooltip does not have onDemand property. But i found that there is a server side propery called "show". Will that help in Loading my radgrid only when i click on RadTooltip. I want to bind my radgrid only on LinkButton click.
<telerik:RadToolTip ID="RadToolTipFactory" runat="server" TargetControlID="lbRecentFactory"
RelativeTo="Element" Position="BottomLeft" RenderInPageRoot="true" EnableShadow="true"
ManualClose="true" ShowEvent="OnClick" AutoCloseDelay="20000">
<telerik:RadAjaxPanel ID="RadAjaxPanel_grdFactoryTooltip" runat="server" Height="100%"
Width="100%" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadGrid ID="grdFactoryTooltip" runat="server" OnItemCommand="grdFactoryTooltip_ItemCommand"
AllowPaging="true" OnNeedDataSource="grdFactoryTooltip_NeedDataSource" PageSize="15"
<Columns>
..........
...................... </Columns>
<telerik:Radgrid>
<telerik:RadAjaxPanel>
</telerik:RadTooltip>
<asp:LinkButton ID="lbRecentFactory" runat="server" Text="Rec" Font-Underline="false"
OnClick="lbRecentFactory_Click" OnClientClick="ShowToolTipRecentCases();" ForeColor="White"></asp:LinkButton>
InCodebheind:
protected void bRecentFactory_Click(object sender, EventArgs e)
{
RadToolTipFactory.Controls.Add(RadAjaxPanel_grdFactoryTooltip);//I am adding RadAjaxpanel to Tooltip target controls here
RadToolTipFactory.show();
}
ITs not working...Or Do i have only option to use TooltipManager which is not working in my case. Please help me.