I have a grid that gets populated with data after a search button is clicked. The grid has paging enabled, but everytime a new page is selected the grid disappears. Why could this be happening?
Make sure that you are using Advanced data binding using its NeedDataSource event to bind the grid. Check the following help documentation which explains more about this. Advanced Data-binding (using NeedDataSource event).
Ok NeedDataSource makes sense, however the data that is being loaded is based on search criteria on the form and the data is returned after a button click. How do I set that up to where NeedDataSource is called after a button click
0
Pavlina
Telerik team
answered on 29 Feb 2012, 03:17 PM
Hi,
To achieve your goal you can try to call grid's Rebind() method on button click and let me know how it goes.
Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.