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

Format gets lost on JSON update

Thread ID:





92071 Dec 17,2009 08:03 AM UTC Dec 17,2009 12:40 PM UTC ASP.NET MVC (Classic) 2
Tags: Grid
Mladen Miljic
Asked On December 17, 2009 08:03 AM UTC

Using Format to create an link in a grid column like follow:

column.Add(p => p.Id).HeaderText("Id").Format("Show {Id}");

is getting fine rendered on first time. Moving to another page using the pager and JSON mode, do not render any links any more.

I checked the returning JSON data and it contains all values (incl. Id).

Any idea?

Mladen Miljic
Replied On December 17, 2009 08:04 AM UTC

I am using version

Balaji M [Syncfusion]
Replied On December 17, 2009 12:40 PM UTC

Hi Mladen,

Thank you for your interest in Syncfusion products.

The reported issue "Format losses in Json paging" raised because of the template your using. Grid renders normally from server side code through format method so if any format text applied it renders first time with formatted text, where in json page navigation the grid records are inserted into grid ( as per the format given in the template) in client side. We suggest you to format the template field. In your sample, add the same format syntax("Show {id}") inside the td elements to resolve the reported issue.

Let me know if you have any concerns.

M. Balaji.


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