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,
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,