asp.net - RadGrid PageSizeComboBox is not finding -


the pagesizecombobox of radgrid giving me null result either in itemdatabound event or other event. need selected value of radgrid pagesizecombobox. should pagesizecombobox

here code written in itemdatabound event of grid

 if (e.item griddataitem)      {                 radcombobox pagesizecombo = e.item.findcontrol("pagesizecombobox") radcombobox;      } 

i need control. want on button click event also. can 1 ?

please try below code snippet.

if (e.item gridpageritem)       {              gridpageritem pageritem = (gridpageritem)e.item;           radcombobox pagesizecombo = (radcombobox)pageritem.findcontrol("pagesizecombobox");           // access combobox here        }  

for more information please check below link. http://jayeshgoyani.blogspot.in/2012/06/customizing-items-of-radgrid-page-size.html


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -