Home > DeveloperSection > Forums > RadGrid PageSizeComboBox is not finding
jayprakash sharma
jayprakash sharma

Total Post:117

Posted on    September-01-2014 12:01 AM


 1 Reply(s)
 911  View(s)
Rate this:

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

Total Post:378

Posted on    September-01-2014 12:39 AM

Hi jay, 

try this:

if (e.Item is GridPagerItem) 


        GridPagerItem pagerItem = (GridPagerItem)e.Item; 

        RadComboBox PageSizeCombo = (RadComboBox)pagerItem.FindControl("PageSizeComboBox"); 

        // Access ComboBox here  


Don't want to miss updates? Please click the below button!

Follow MindStick