Bind Devexpress girdview 2 from devexpress gridview1's callback -


i have 2 devexpress gridview in page.

i tried binding data devexpress gridview2 devexpress gridview1's custom callback method..

well no result populated on devepress gridview 2.. it's bank...

the code shown

aspxgridview1_customcallback(object sender, aspxgridviewcustomcallbackeventargs e) {  datatable dt_getdata = commonbl.getuserdefinedresult("select * accounts id='tr=009'"); if(dt_getdata!=null) { aspxgridview2.datasource = dt_getdata; aspxgridview2.databind();}} 

no errors found while debugging...why so?? please suggest solution!

the problem appears because callback response contains information control initiated callback. i.e. if aspxgridview2 not part of aspxgridview1, code not have effect since information aspxgridview not passed client. possible solution send callback aspxgridview2 , bind control data in customcallback event handler. please refer how show detail information in separate aspxgridview example.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -