RadGrid PageSizeComboBox is not finding

Total Post:117


 1695  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 ?

  1. Re: RadGrid PageSizeComboBox is not finding

    Hi jay, 

    try this:

    if (e.Item is GridPagerItem) 


            GridPagerItem pagerItem = (GridPagerItem)e.Item; 

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

            // Access ComboBox here  



Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.