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.
Unfortunately, activation email could not send to your email. Please try again.

is GridActions() required ?

Thread ID:

Created:

Updated:

Platform:

Replies:

105193 Sep 17,2012 05:34 AM Sep 18,2012 04:52 AM ASP.NET MVC (Classic) 1
loading
Tags: Grid
John Hind
Asked On September 17, 2012 05:34 AM

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

Ranjithkumar R G [Syncfusion]
Replied On September 18, 2012 04:52 AM

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.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;