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

PopUp Grid

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jhonattan
Top achievements
Rank 2
Jhonattan asked on 10 Jan 2010, 12:25 AM
Hi, anybody could help me, i want change text of radgrid popup buton close tooltip, any idea?? thx

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 11 Jan 2010, 06:29 AM
Hello,

You can try the following code to change the tooltip for the close button in the EditForm pop up:
c#:
protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) 
    { 
        if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
        { 
            GridEditableItem editItem = (GridEditableItem)e.Item; 
            ((Image)(editItem.Controls[1].Controls[0].Controls[0].Controls[1].Controls[0].Controls[0])).ToolTip = "Custom Text"
 
        } 
     } 

Thanks
Princy.
0
Jhonattan
Top achievements
Rank 2
answered on 11 Jan 2010, 07:08 PM
Thank you so mach Princy, i solve the problem
Tags
Grid
Asked by
Jhonattan
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Jhonattan
Top achievements
Rank 2
Share this question
or