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

RadGrid Properties

2 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marcio Nascimento
Top achievements
Rank 1
Marcio Nascimento asked on 07 Aug 2009, 03:33 PM
Hi There,

Could you tell me where I find the Text properties for the text: "Page Size:" in RadGrid footer ?

Thanks.

Marcio Nascimento

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 10 Aug 2009, 05:35 AM
Hi Marcio,

Try the following code snippet in order to change the Text of PageSize label.

C#:
 
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    if (e.Item is GridPagerItem) 
    { 
        Label lbl = (Label)e.Item.FindControl("ChangePageSizeLabel"); 
 
        lbl.Text = "Custom PageSize:"
    }   

If you want to change the PageSize combobox item values to your custom values, then refer the following forum link which discusses how to accomplish this.
Custom paging items

-Shinu.
0
Marcio Nascimento
Top achievements
Rank 1
answered on 11 Aug 2009, 03:25 PM
Thanks Shinu !
Tags
Grid
Asked by
Marcio Nascimento
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Marcio Nascimento
Top achievements
Rank 1
Share this question
or