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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Escape property name in column formatting

Thread ID:

Created:

Updated:

Platform:

Replies:

111187 Sep 11,2013 11:58 PM UTC Sep 19,2013 07:10 AM UTC ASP.NET MVC (Classic) 2
loading
Tags: Grid
Jeremy Branham
Asked On September 11, 2013 11:58 PM UTC

If I'm adding a format string that contains a property name, it always substitutes the value of the property even if there are no curly brackets around it.
 
The following example produces the wrong markup.
 

.Column(cols =>
{
cols.Add(c => c.Id);
cols.Add(c => c.EnvironmentId).Format("<a rel='nofollow' href='Environments?Id={EnvironmentId}'>Environment</a>");
}

 

For example, it will produce -
<a rel='nofollow' href='Environments?1=1'>Environment</a>

rather than -
<a rel='nofollow' href='Environments?Id=1'>Environment</a>


Hariharan J V [Syncfusion]
Replied On September 18, 2013 01:17 PM UTC

Hi Jeremy Branham,

Thanks for using Syncfusion products.

Sorry for the delay.

We will consider this as a issue. We will create incident for this query and update the details you on one business day(September 19,2013).

Please let us know if you need any further assistance.

Regards,
Hariharan J.V.

Hariharan J V [Syncfusion]
Replied On September 19, 2013 07:10 AM UTC

Hi Jeremy Branham,

Thanks for your patience.

We have created incident 113365 for the above query. We suggest you to followup this incident for further details.

Please let us know if you need any further assistance.

Regards,
Hariharan J.V.

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.

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

;