I want to retrieve some data for a grid via client-side pagemethods via the following:
http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding.html
After executing the checkbox2 clicked event, a "GetData" pagemethod is executed to retrieve results for the grid in the updategrid function.
After the results come back, instead of performing the clientside rowdatabound event, if I have a corresponding event set up on the grid at design time to execute it via server side, will it go ahead and perform that server side rowdatabound event.
Thing is getting data may be expensive depending on when you do it. If I can get the data in certain situations via a page method, I can let the server side rowdatabound event handle each row coming through and apply what is needed.
Or will it be a lot faster leaving it client side. If that's the case, why have any server side programming to begin with if it's going to take a lot longer? Do we need to do everything client side?
The above I assume would simulate CallBack events similar to what DevExpress has, I don't see any CallBack events with the Telerik controls other than this type of programming.
Any feedback would be much appreciated.
http://www.telerik.com/help/aspnet-ajax/grid-client-side-binding.html
After executing the checkbox2 clicked event, a "GetData" pagemethod is executed to retrieve results for the grid in the updategrid function.
After the results come back, instead of performing the clientside rowdatabound event, if I have a corresponding event set up on the grid at design time to execute it via server side, will it go ahead and perform that server side rowdatabound event.
Thing is getting data may be expensive depending on when you do it. If I can get the data in certain situations via a page method, I can let the server side rowdatabound event handle each row coming through and apply what is needed.
Or will it be a lot faster leaving it client side. If that's the case, why have any server side programming to begin with if it's going to take a lot longer? Do we need to do everything client side?
The above I assume would simulate CallBack events similar to what DevExpress has, I don't see any CallBack events with the Telerik controls other than this type of programming.
Any feedback would be much appreciated.