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

how to show radtooltip on row mouse over of radgrid control

3 Answers 258 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 02 Feb 2009, 10:20 AM
how to show radtooltip on row mouse  over of radgrid control

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Feb 2009, 11:05 AM
Hello Rajesh,

You need to set the TargetControlId of the RadToolTip to the Id of the RadGrid as shown in the code below:
aspx:
 <telerik:RadGrid  ID="RadGrid1"  DataSourceID="SqlDataSource1" runat="server"
    <MasterTableView> 
     ..... 
    </MasterTableView>   
 </telerik:RadGrid>    
 
  <telerik:RadToolTip ID="RadToolTip1" TargetControlID="RadGrid1" Text="CustomText" Title="Title" runat="server"
   </telerik:RadToolTip> 

Thanks
Princy.
0
Rajesh
Top achievements
Rank 1
answered on 04 Feb 2009, 03:27 AM
Hello Princy,

Thanks for your reply. But i am creating web part for sharepoint which having RADGRID bind and on every row mouse over i want to show details of customer in RADTOOLTIP.

Thanks
0
Sebastian
Telerik team
answered on 04 Feb 2009, 07:51 AM
Hi Rajesh,

Then you can use the following online demo as basis for your custom implementation:

http://demos.telerik.com/aspnet-ajax/tooltip/examples/bindtotarget/defaultcs.aspx

Review the description/code snippets from the example for more details.

Kind regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Rajesh
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or