The PageSizeComboBox of radgrid giving me null result either in ItemDataBound Event or any other event. I need to get the selected value of RadGrid PageSizeComboBox. What should I do to get PageSizeComboBox
here is my code written in ItemDataBound event of Grid
if (e.Item is GridDataItem)
{
RadComboBox PageSizeCombo = e.Item.FindControl("PageSizeComboBox") as RadComboBox;
}
I need to get this control. I want to get it on my Button Click event also. Can any one help ?
Sumit Kesarwani
01-Sep-2014Hi jay,
try this:
if (e.Item is GridPagerItem)
{
GridPagerItem pagerItem = (GridPagerItem)e.Item;
RadComboBox PageSizeCombo = (RadComboBox)pagerItem.FindControl("PageSizeComboBox");
// Access ComboBox here
}