Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
TextEditorFor And '\' char problem
posted

Hello,

I use your Ignite UI Starter MVC 4 (Razor) project and I encounter a problem with the '\' sign into TextEditors: This sign not appear if I use @Html.Infragistics().TextEditorFor().

Based on your template for en new project, this is what I do :

In Index.cshtml, I add a TextEditorFor => @Html.Infragistics().TextEditorFor(m => m.Customers.First().Name).Render()

In HomeController.cs, I add the '\' for the customer John Smith => new Customer { ID=1, Name="John\\Smith", IsActive=true },

On runtime, the Grid shows "John\Smith" but the TextEditor shows "JohnSmith".

What I'm doing wrong ?

Thanks in advance for your repply.

Regards,

Maxime DRIVET.