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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Enable Postback for the Grid

Thread ID:





117991 Jan 17,2015 12:02 AM UTC Jan 21,2015 04:04 PM UTC ASP.NET MVC 3
Tags: Grid
Bruce Gilham
Asked On January 17, 2015 12:02 AM UTC

Hello All,

I may be using the wrong control to do this, I'm adding the grid to a CMS that is using ASP.MVC 5, but the management pages are using post backs to persist their data.  I have the grid rendering the data from the underlying object.  But I'm not getting any postback data from the grid.  Can I enable the Grid to post back the data?



Balaji Marimuthu [Syncfusion]
Replied On January 19, 2015 02:21 PM UTC

Hi Bruce,

Thanks for using Syncfusion Products.

We have analyzed your requirement and achieved by using “UrlAdaptor” for sent the postback to the server. Please find the below code snippet.



        .Datasource(ds => ds.URL("Home/Data").UpdateURL("Home/Update").Adaptor("UrlAdaptor"))       

         . . . .



public ActionResult Data(DataManager dm)


            var DataSource = OrderRepository.GetAllRecords();

            DataResult ds = new DataResult();

            ds.result = DataSource.Skip(dm.Skip).Take(dm.Take);

            ds.count = DataSource.Count;

            return Json(ds, JsonRequestBehavior.AllowGet);


Please refer the online documentation for urlAdaptor as follows:


For your reference we have attached the sample and the same can be downloaded from the link


Please let us know if you have any queries.


Balaji Marimuthu

Bruce Gilham
Replied On January 20, 2015 08:38 AM UTC

Thank you for your response.

Ajax isn't available for this project.

I found another solution using knockout.js to store the data and then writing the entities out to hidden form fields which than are sent to the server on a page post back.

Balaji Marimuthu [Syncfusion]
Replied On January 21, 2015 04:04 PM UTC

Hi Bruce,

Thanks for your update.

Please let us know if you have any other queries.


Balaji Marimuthu


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon