Hi
I am using rad grid having paging option , i would like to change or customize Paging Combobox items. I could only customize or add upto 3 items to that combo box.But i would like to add default sizes to be 25, 50, 100, 250, and 500 so on. is there any way to extend the items size up to the size i mentioned.
if (e.Item is GridPagerItem)
{
RadComboBox PageSizeCombo = (RadComboBox)e.Item.FindControl("PageSizeComboBox");
PageSizeCombo.Items[0].Text = "50";
PageSizeCombo.Items[1].Text = "500";
PageSizeCombo.Items[2].Text = "1000";
//PageSizeCombo.Items[3].Text = "500";
//PageSizeCombo.Items[4].Text = "2000";
//PageSizeCombo.FindItemByText(e.Item.OwnerTableView.PageSize.ToString()).Selected = true;
PageSizeCombo.FindItemByText("50").Selected = true;
}
In above code i could add only 3 items including the Page size i fixed in the Grid
Regards,
Appu
I am using rad grid having paging option , i would like to change or customize Paging Combobox items. I could only customize or add upto 3 items to that combo box.But i would like to add default sizes to be 25, 50, 100, 250, and 500 so on. is there any way to extend the items size up to the size i mentioned.
if (e.Item is GridPagerItem)
{
RadComboBox PageSizeCombo = (RadComboBox)e.Item.FindControl("PageSizeComboBox");
PageSizeCombo.Items[0].Text = "50";
PageSizeCombo.Items[1].Text = "500";
PageSizeCombo.Items[2].Text = "1000";
//PageSizeCombo.Items[3].Text = "500";
//PageSizeCombo.Items[4].Text = "2000";
//PageSizeCombo.FindItemByText(e.Item.OwnerTableView.PageSize.ToString()).Selected = true;
PageSizeCombo.FindItemByText("50").Selected = true;
}
In above code i could add only 3 items including the Page size i fixed in the Grid
Regards,
Appu