Telerik Forums
UI for ASP.NET Core Forum
1 answer
I have a textarea that displays a specific column's text depending on which row is selected. How can I have this textarea autosize depending on its contents?
Telerik team
 answered on 08 Sep 2021
1 answer

I'm new to telerik and MVC.  I come from a webforms background.

I wanted to start out with a website that has a sidebar on the left and a menu across the top.  The Responsive Panel seems to fit the bill.  I'm accustomed to creating a master page in webforms.  How do I create something similar to a master page in a core/MVC website where when I make a selection from the item list in the left side bar, it updates the content on the right (iframe?) 

Telerik team
 answered on 07 Sep 2021
1 answer

Hello guys,

I've noticed that when using the Skeleton container on hierarchical grid the last column in the grid doesn't show the loading animation. Is there a way around this problem?


Telerik team
 answered on 06 Sep 2021
1 answer

Hello everyone

I have the following bound column set up:

  columns.Bound(site => site.SiteHasBin).ClientTemplate("#=dirtyField(data,'SiteHasBin')# #:SiteHasBin#").ClientHeaderTemplate("<a class='k-link'>Bin Present? - Select all</><input style='margin-left:10px;' id='checkAll' type='checkbox' onclick='checkAll(this)' />").Sortable(false);

With the associated js:

function dirtyField(data, fieldName) {
    if (data.dirty && data.dirtyFields[fieldName]) {
        return "<span class='k-dirty'></span>"
    else {
        return "";

function checkAll(input) {
    var grid = $("#gridBins").data("kendoGrid");
    var items = grid.items();
    items.each(function () {
        var dataItem = grid.dataItem(this);
          if (dataItem.SiteHasBin != input.checked) {
              dataItem.SiteHasBin = input.checked;
        dataItem.dirty = true;

However, I cannot for the life of me get the cell into it's dirty state properly which would then allow me to use the Save functionality.

As you can see from the above. It updates the values accordingly but unlike single clicking, doesn't dirty the cell / data item.

Could someone point me in the right direction please?




Telerik team
 updated answer on 02 Sep 2021
0 answers

I have the below example:

As you can see, I check and pre Save Changes, everything works ok. I check, hit Cancel Changes and we get back to its original state.

After I save/commit to the db and then hit cancel changes, the grid updates some check boxes (incorrectly) and also updates the items.

What's going on here?!

Here's my grid code

    .DataSource(dataSource => dataSource
    .Model(model => {
    model.Id(p => p.Bin_ID);
    model.Field(p => p.SiteHasBin).Editable(true);
    model.Field(p => p.Bin_Type_Name).Editable(false);
    model.Field(p => p.Bin_Type_Group).Editable(false);
    .Read("Bins_Read", "MySites", new { site_Id = Model.Site_Id })
    .Update("Bins_Update", "MySites", new { site_Id = Model.Site_Id })
    .Columns(columns =>
    columns.Bound(site => site.SiteHasBin).Filterable(false);
    columns.Bound(site => site.Bin_Type_Name).Filterable(false);
    columns.Bound(site => site.Bin_Type_Group).Filterable(filterable => filterable.UI("groupFilter"));
    .Editable(editable => editable.Mode(GridEditMode.InCell))
    .Filterable(filterable => filterable
    .Operators(operators => operators
    .ForString(str => str.Clear()))
    .ToolBar(toolbar =>

Further strange behaviour: