I have grid and several textarea in a page. I want to bind the textarea “value” attribute to the gird's selected row(a column). when the gird change the selected row, the textarea value change. and change the text of textarea, the grid content change.
how can i get it.
I am trying to bind in grid change event, but when I change the textarea value, the selected row disappeared.


Im trying to do this as a taghelper
@(Html.Kendo().DatePickerFor(m => m.Pressefoto).Deferred())
With this
<kendo-datepicker name="Pressefoto" asp-for="Pressefoto" deferred="true" />
asp-for does not work, no value from model
and I need to specify name or I get a runtime error
I am attempting to use the autocomplete for incell editing. I have been searching and followed several examples but I can't get my code to work. When I select the cell, the current value deletes and the "working" spinner shows but no suggestions are listed.
Below is the code for the Grid, AutoComplete, and Controller function.
Index
@(Html.Kendo().Grid<Timecard.Models.TimecardViewModel>()    .Name("timecard")    .ToolBar(toolbar => toolbar.Create().Text("ADD").HtmlAttributes(new { title = "Add employee" }))    .Editable(editable => editable.Mode(GridEditMode.InCell))    .Columns(columns =>    {        columns.Bound(p => p.EmployeeName).Width(170).EditorTemplateName("_InCellAutoCompleteEditor");        columns.Bound(p => p.MonST).Filterable(false).Sortable(false).Format("{0:n1}").Title("Mon ST");        columns.Bound(p => p.MonOT).Filterable(false).Sortable(false);        columns.Bound(p => p.MonDT).Filterable(false).Sortable(false);        columns.Bound(p => p.TueST).Filterable(false).Sortable(false);        columns.Bound(p => p.TueOT).Filterable(false).Sortable(false);        columns.Bound(p => p.TueDT).Filterable(false).Sortable(false);        columns.Bound(p => p.WedST).Filterable(false).Sortable(false);        columns.Bound(p => p.WedOT).Filterable(false).Sortable(false);        columns.Bound(p => p.WedDT).Filterable(false).Sortable(false);        columns.Bound(p => p.ThuST).Filterable(false).Sortable(false);        columns.Bound(p => p.ThuOT).Filterable(false).Sortable(false);        columns.Bound(p => p.ThuDT).Filterable(false).Sortable(false);        columns.Bound(p => p.FriST).Filterable(false).Sortable(false);        columns.Bound(p => p.FriOT).Filterable(false).Sortable(false);        columns.Bound(p => p.FriDT).Filterable(false).Sortable(false);        columns.Command(command =>        {            command.Edit().UpdateText("Save");            command.Destroy().HtmlAttributes(new { title = "Delete highlighted employee" });        }).Title("Options").Width(150);    })    .Sortable()    .Scrollable()    .Filterable()    .Selectable(selectable => selectable        .Mode(GridSelectionMode.Single)        .Type(GridSelectionType.Cell)    )    .HtmlAttributes(new { style = "height:650px;width:1580px;" })    .DataSource(dataSource => dataSource        .Ajax()        .PageSize(100)        .Model(model => model.Id(p => p.EmployeeCode))        .Read(read => read.Action("Employee_Read", "Timecard"))        .Create(create => create.Action("Employee_Create", "Employee"))        .Destroy(destroy => destroy.Action("Employee_Delete", "Employee"))    ))
_InCellAutoCompleteEditor
@(Html.Kendo().AutoComplete()    .Name("EmployeeName")    .Filter("startswith")    .DataTextField("employeeName")    .ValuePrimitive(true)    .Placeholder("Select...")    .DataSource(source =>    {        source.Read(read =>        {            read.Action("Employee_Read", "Timecard");        })        .ServerFiltering(false);    }))
TimecardController
public ActionResult Employee_Read([DataSourceRequest]DataSourceRequest request){    DataTable dt = new DataTable();    using (SqlConnection conn = new SqlConnection("Server={IPAddress};DataBase={DB};Integrated Security=SSPI"))    {        using (SqlCommand cmd = new SqlCommand())        {            cmd.CommandText = "uspEmployeeGet";            cmd.CommandType = System.Data.CommandType.StoredProcedure;            cmd.Connection = conn;            conn.Open();            dt.Load(cmd.ExecuteReader());        }    }    var dsResult = dt.ToDataSourceResult(request);    return Json(dsResult);}

Hi,
We have many models that we have set up Grids for and are using custom templates for the Popup editor. We wish to disable all of the fields in the Popup editor based on a boolean Model property, but were quick to find that the Razor Model object is not available in the custom template. We need to check this boolean property on a record by record basis (some records will be allowed for editing and some will not). I have taken a look at some of the solutions here and it seems that one approach is to create an on edit handler that manually disables all of the fields on the editor on an edit action. However this creates a serious overhead because it would mean we have to create this function for every grid. We have many different grids and they all have varying fields.
I was wondering if it is somehow possible to get access to this Model boolean property in the custom template and disable the fields as appropriate. Please note that we need to still be able to see the fields and their respective values and not hide/show the fields.

In my ASP.NET Core 2.2 MVC project have the following TreeList control. This works. However, I prefer that the "Details" command go in the first column. However, when I do that... the hierarchy no longer works. It lists the items in the datasource but it doesn't indent anything. So 2 questions:
Thanks in advance for your help,
Joel
<div class="container">    <div class="col-sm-8">        <h2>@Model.Title</h2>        <h3>@Model.Subtitle</h3>        <h4>@Model.Message</h4>        <hr />    </div>    <div class="col-sm-4 section">        @(Html.Kendo().PanelBar()                      .Name("panelbar-customer")                      .Items(panelbar =>                      {                          panelbar.Add().Text(@Model.Subtitle)                              .ImageUrl(Url.Content("~/images/32/Customer.png"))                              .Action("ToCustomer", "Groups", new { id = @Model.GetValue(Glossary.Keys.Group.Id) });                      }))    </div></div><div>    <h4>@ViewBag.Subtitle</h4>    <script id="icon-template" type="text/x-kendo-template">        <div class='group-icon'             style='background-image: url(@Url.Content("~/images/32/Group.png"));'></div>        <div class='group-name'>#: Name #</div>    </script>    @(Html.Kendo().TreeList<Group>()        .Name("treelist")        .Columns(columns =>        {            columns.Add().Field(e => e.Name).Width(220).TemplateId("icon-template");            columns.Add().Field(e => e.RootPath);            columns.Add().Command(c => { c.Custom().Text("Details").Name("detailButton").Click("toDetails"); }).Width(120);            columns.Add().Command(c => { c.Custom().Text("Create").Name("createButton").Click("toCreate"); }).Width(120);        })        .DataSource(dataSource => dataSource            .ServerOperation(false)            .Read(read => read.Action("IndexJson", "Groups"))            .Model(m =>            {                m.Id(f => f.Id);                m.ParentId(f => f.ParentId);                m.Expanded(true);                m.Field(f => f.Name);            }            )            .Events(events =>            {                events.Error("onError");            })        ))    <script>        var groupId = Number(@(ViewBag.GroupId));        function readParams() {            return { id: groupId };        }        function toDetails(e) {            e.preventDefault();            var dataItem = this.dataItem($(e.currentTarget).closest("tr"));            if (dataItem != null) {                window.location.href = '@Url.Action("Details", "Groups")/' + dataItem.Id;            }        }        function toCreate(e) {            e.preventDefault();            var dataItem = this.dataItem($(e.currentTarget).closest("tr"));            if (dataItem != null) {                window.location.href = '@Url.Action("Create", "Groups")/?parentId=' + dataItem.Id;            }        }        function onError(e) {            alert(e.toString());        }    </script>    <style>        .group-icon {            display: inline-block;            width: 40px;            height: 40px;            border-radius: 50%;            background-size: 40px 44px;            background-position: center center;            vertical-align: middle;            line-height: 41px;            box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0,0,0,.2);        }        .group-name {            display: inline-block;            vertical-align: middle;            line-height: 41px;            padding-left: 10px;        }    </style></div>Hello,
I've been searching all over the Internet for an answer to this question, but to no avail. How do I set a default value for a NumberTextBoxFor HtmlHelper? I've seen examples where it's done by something similar to this: .HtmlAttributes(new { @Value = "9"}). However, this doesn't for for me. Any help is appreciated. Thanks.
Shawn A.

When changing the accent color of a theme the color of the date picker does not change.
https://demos.telerik.com/kendo-ui/themebuilder/
How does one change the color of the Date Picker?
I've tried setting the colors manually through css with the attached code but some lines stay red.
.k-calendar .k-header{    background-color: #448dcb !important;}.k-state-focused {    border-color: #448dcb !important;}  .k-state-active {    background-color: #448dcb !important;    border-color: #448dcb !important;}  .k-calendar .k-input .k-picker-wrap .k-state-focused {    border-color: #448dcb !important;}