This is a migrated thread and some comments may be shown as answers.

Kendo Grid inline edit shows html code

2 Answers 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Irene
Top achievements
Rank 1
Irene asked on 27 Aug 2012, 07:08 PM
I'm trying to using Kendo Grid Inline Edit with MVC3 c#.net. I'm using Kendo.Mvc.dll 2012.2.423.340. It shows the list of the usages correctly. But not working for Edit and Update. When I click on Edit, it shows html code instead of the value only.

For example, for the Approved Usage ID, which is int. It shows as below in the edit box.

%3cinput class="text-box single-line" data-val="true" data-val-number="The field ApprovedUsageID must be a number." data-val-required="The ApprovedUsageID field is required." id="ApprovedUsageID" name="ApprovedUsageID" type="text" value="0" /%3e%3cspan class="field-validation-valid" data-valmsg-for="ApprovedUsageID" data-valmsg-replace="true"%3e%3c/span%3e

Can anybody tell me what's wrong with my code or any tips for debugging? I'm new on Kendo UI. Feeling lost on debugging because there is no error message and can hardly find answer through google.

Alright, I figured it out. Thanks,

2 Answers, 1 is accepted

Sort by
0
Kalimuthu
Top achievements
Rank 1
answered on 15 May 2019, 05:32 PM
Hi, i am facing same issue
0
Tsvetomir
Telerik team
answered on 20 May 2019, 11:23 AM
Hi Kalimuthu,

Based on the provided information, I can deduct that the issue stems from encoding the relevant editors. However, this thread it rather outdated, therefore, can you share what are application specifics you are using? In case you are using ASP.NET MVC, share the .NET framework and the ASP.NET framework versions. 

I am attaching a sample project which targets ASP.NET MVC 5 with the Kendo UI version 2019.1.220. All that has to be done in order to run it is to add the Kendo.Mvc.dll to the bin folder. It is important to point out that you might have to delete any existing references to the Kendo.Mvc.dll and add a new one. 

Examine the project and let me know in case the issue is present.


Kind regards,
Tsvetomir
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Irene
Top achievements
Rank 1
Answers by
Kalimuthu
Top achievements
Rank 1
Tsvetomir
Telerik team
Share this question
or