Declined
Last Updated: 21 Aug 2023 13:10 by ADMIN
Jeff
Created on: 14 Aug 2023 21:50
Category: Grid
Type: Feature Request
0
Kendo Grid
I am thinking some of this maybe some of the Kemdo.js files and the other js files maybe clashing. My LabelFor code does not work anymore either. We have a Html helper that loads the Field Name and the name we want to use for the labels from a list and all I get printed out is the Field Name. I can not get the helper file code to stop on a break point to debug it. Thnaks @using (Html.BeginForm("Index", "NewOrder", FormMethod.Post, new { name = "OrderForm", id = "OrderForm" })) { @Html.ValidationSummary(true) <fieldset> <legend> Add Order</legend> @Html.HiddenFor(model => model.IsOrderCatRequired) …….. <div class="form-sectionheader" id="OrderHeader"> Order Information </div> <div class="clear-float"></div> <div class="form-label" id="OrderCatLabel"> @if (Model.IsOrderRequired) {<text>RQ</text>}@Html.LabelFor(model => model.OrderCatID) </div> <div class="form-field" id="OrderCatIDField"> @(Html.Kendo().DropDownListFor(model => model.OrderCatID) .BindTo(new SelectList(Model.OrderCategory, "OrderCatId", "Description")) .Events(e => e.Change("OrderCat_OnChange")) .HtmlAttributes(new { style = string.Format("width:{0}px", 200) })) @Html.ValidationMessageFor(model => model.OrderCatID) </div>
0 comments