Declined
Last Updated: 10 Jun 2021 11:01 by ADMIN
ColinBlakey
Created on: 14 Apr 2016 15:34
Category: UI for ASP.NET MVC
Type: Feature Request
2
Fix the Kendo/ASP.NET MVC matching controls to properties by name convention
If I have a field defined as @Html.Kendo().TextBoxFor(m => m.Customer.CustomerNumber) then my complex property in my model will be correctly used. If however if add a name value i.e. @Html.Kendo().TextBoxFor(m => m.Customer.CustomerNumber).Name("CustNum") so that I can reference this field in javascript then this name takes precendence as the property name and as such the property in my model is not used. If we are using the 'For' version of an input field where we have already identified the property can this take precedence over using the Name field. That way we can simple names for use in the Javascript and yet still use complex properties.
0 comments