Hi, to simplify my requirement, I would say, I want to display the text of the RadTreeNode in the RadToolTipManager's tool tip
Below is how my code looks currently:
The LoadTree Event handler ...
Would you please do me a favor by posting codes for the server-side and/or client side, too ? So I can implement the most suitable of those.....
I do not want to go the .ascx way, as demonstrated on the Demo page.
Thanks,
-Aarsh
Below is how my code looks currently:
<telerik:RadTreeView ID="MainTree" runat="server" Skin="WebBlue" BackColor="white" EnableDragAndDrop="false" EnableDragAndDropBetweenNodes="false" Height="100%" OnLoad="LoadMainTree" Visible="true" OnContextMenuItemClick="ContextMenuItemClick"></telerik:RadTreeView><telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" OnAjaxUpdate="RadToolTipManager_AjaxUpdate" Skin="Sunset"></telerik:RadToolTipManager>RadToolTipManager_AjaxUpdate has following implementation in the code behind:internal static void RadToolTipManager_AjaxUpdate(object sender, ToolTipUpdateEventArgs e){ System.Web.UI.WebControls.Label lblTitle = new System.Web.UI.WebControls.Label(); lblTitle.Text = "Title"; lblTitle.Attributes.Add("style", "font-weight: 700"); System.Web.UI.WebControls.Label lblCaption = new System.Web.UI.WebControls.Label(); lblCaption.Text = "This is the the hard coded string but I want to print the text of the RadTreeNode, over which I hover my mouse..."; e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblTitle); e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblCaption);}The LoadTree Event handler ...
private void LoadTree() { RadToolTipManager1.ShowDelay = 100; RadToolTipManager1.HideDelay = 100; RadToolTipManager1.AutoCloseDelay = 8000; RadToolTipManager1.TargetControls.Add("MainTree"); }Would you please do me a favor by posting codes for the server-side and/or client side, too ? So I can implement the most suitable of those.....
I do not want to go the .ascx way, as demonstrated on the Demo page.
Thanks,
-Aarsh