We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

is GridActions() required ?

VS2012, MVC4, VB.Net, ASPX
 
When I create a data model to pass into my view, I handle paging and sorting in my query to the database, to reduce overheads. If I then call GridActions() when I return the View, I lose the sort sequence of the data that I have applied. If I do not call GridActions(), I get the wait/processing image and the grid is permenently disabled.
 
In all of the examples I've seen, sorting and paging are not really shown, as the first 100 records are always taken.
 
What am I missing ?!
 
thanks,
John

1 Reply

RR Ranjithkumar R G Syncfusion Team September 18, 2012 08:52 AM UTC

Hi John,

 

Thanks for using Syncfusion products.

 

We would like to let you know GridActions() is mandatory  to  generate Grid in callback after specific action.  We suggest you to use ‘Custom Binding’ to processes the data source using its built-in LINQ expressions to perform paging, sorting, grouping, filtering, and editing to bypass their built-in data source processing and process the data themselves.

 

Please refer our online sample link for further reference.

 

http://mvc.syncfusion.com/demos/ui/grid/DataBinding/CustomBinding

 

Please refer our online documentation link.

 

http://help.syncfusion.com/UG/User%20Interface/ASP.NET%20MVC/Grid/default.htm#!documents/custombinding.htm

 

 

Please download the below sample application for further reference.

 

MvcApplication1.zip

 

Please let us know if you have any concern.

 

Regards,

Ranjithkumar.


Loader.
Live Chat Icon For mobile
Up arrow icon