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.

Format gets lost on JSON update

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 03:04 AM

I am using version 7.4.0.20.

Balaji M [Syncfusion]
Replied On December 17, 2009 07:40 AM

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.

Regards,
M. Balaji.

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.

;