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

radgrid attachmentcolumn edit button text

2 Answers 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Felice
Top achievements
Rank 1
Felice asked on 03 Sep 2013, 08:18 AM
Hi,

where can I edit/change the text of the attachmentColumn "Select" button?
I need to rename it from "Select" to something else.

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 03 Sep 2013, 09:31 AM
Hi,

Please check the following code snippet I tried to change the 'select'  text of the button.

C#:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item is GridEditableItem && e.Item.IsInEditMode)
    {
        GridEditableItem edit = (GridEditableItem)e.Item;
        RadUpload upload = (RadUpload)edit["UniqueName"].Controls[0];
        upload.Localization.Select = "your text";
    }
}

Thanks,
Princy.
0
Felice
Top achievements
Rank 1
answered on 03 Sep 2013, 09:41 AM
Thanks a lot Princy,
it worked.

Felice
Tags
Grid
Asked by
Felice
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Felice
Top achievements
Rank 1
Share this question
or