This is a migrated thread and some comments may be shown as answers.

RadTooltipmanager not applying for radgrid pagerstyle mode "Slider"

4 Answers 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ram
Top achievements
Rank 1
Ram asked on 11 Oct 2011, 07:26 AM
Hi
I'm using radgrid inside the radpanelbar.
I'm using the Radtooltipmanager.
All tooltips are showing currectly.
the tooltips of Slider like Decrease,Drag and Increase are appears as normal tooltips.
But rest of the other things are appearing in telerik style tooltip.
How cloud I fix this please help me as early as possible.

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Oct 2011, 07:52 AM
Hello Ram,

Try the following code snippet to change the Tooltips of RadSlider.
C#:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
 foreach (GridPagerItem pager in RadGrid1.MasterTableView.GetItems(GridItemType.Pager))
 {
   RadSlider slider = pager.FindControl("GridSliderPager") as RadSlider;
   if (slider != null)
   {
    slider.IncreaseText = "CustomIncreaseText";
    slider.DecreaseText = "CustomDecreaseText";
    slider.DragText = "CustomDragText";
   }
  }
}

Thanks,
Princy.
0
Ram
Top achievements
Rank 1
answered on 11 Oct 2011, 08:53 AM
Sorry I did't explore my problem clearly I think.
Tooltip for slider is showing but in normay style like how toolip appears without Radtooltipmanager.
 
0
Pavlina
Telerik team
answered on 17 Oct 2011, 09:46 AM
Hi Ram,

Can you please try clearing the tooltip target controls inside the PageIndexChanged event as shown below and let me know if it helps:
protected void ReportsGrid_PageIndexChanged(object sender, GridPageChangedEventArgs e)
{
    RadToolTipManager1.TargetControls.Clear();
}

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Ram
Top achievements
Rank 1
answered on 17 Oct 2011, 10:20 AM
Yes.
Its worked for me.
Thank you very much.
Tags
Grid
Asked by
Ram
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Ram
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or