So I have an issue where if there are two grids on the same page using different names and both having a column that uses the ".Select()" method for checkboxes, the "select all" checkbox in the header of one of the grids works correctly, but the second one will only select the first one's rows and not it's own.
Here is some sample code:
<div class="row"> <div class="col-xs-12 col-md-6"> <h2 class="text-center">Users in rule</h2> @(Html.Kendo().Grid<UserViewModel>() .Name("UsersInRule") .Columns(columns => { columns.Select().Width(50); columns.Bound(c => c.Name).Width(300); columns.Bound(c => c.Username).Width(200); }) .Sortable() .Resizable(resize => resize.Columns(true)) .ToolBar(toolbar => toolbar.Create()) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("ListUsersInRule", "User", new { Area = "Admin", id = Model.Id })) ) ) </div> <div class="col-xs-12 col-md-6"> <h2 class="text-center">Available users</h2> @(Html.Kendo().Grid<UserViewModel>() .Name("AvailableUsers") .Columns(columns => { columns.Select().Width(50); columns.Bound(c => c.Name).Width(300); columns.Bound(c => c.Username).Width(200); }) .Sortable() .Resizable(resize => resize.Columns(true)) .ToolBar(toolbar => toolbar.Create()) .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("ListUsersNotInRule", "User", new { Area = "Admin", id = Model.Id })) ) ) </div> </div>
What happens is when I click on the header checkbox for the "AvailableUsers" grid, it will select the rows in the "UsersInRule" grid. The header checkbox in the "UsersInRule" grid works just fine in selecting rows in its own grid. How do I configure it so that the header checkboxes will only select the rows in their own grid?
Currently using Kendo UI v2017.3.1026 (kendo.all.min.js and kendo.aspnetmvc.min.js) that I grabbed from the telerik.ui.for.aspnet.core commercial zip.

Hi,
I have defined my Spreadsheet as follows:
@(Html.Kendo().Spreadsheet()
.Name("spreadsheet")
.Sheets(sheets =>
{
sheets.Add()
.Name("mySheet")
.Columns(c =>
{
c.Add().Width(150);
c.Add().Width(150);
})
.DataSource<MyViewModel>(ds => ds
.Ajax()
.Batch(true)
.Read("ReadTimeSeries", "MyController")
.Model(m => {
m.Field(p => p.Timestamp);
m.Field(p => p.Value);
})
);
})
.Sheetsbar(false)
)
When the Spreadsheet loads the data, it is displayed as Date only - the time part seems to be missing.
This is my DataModel:
public class MyViewModel
{
[Display(Name = "Zeitstempel")]
[DisplayFormat(DataFormatString = "{0:dd.MM.yyyy HH:mm}"]
public DateTime Timestamp { get; set; }
[Display(Name = "Wert")]
[DisplayFormat(DataFormatString = "{0:#,###.###}")]
public decimal Value { get; set; }
}
The DisplayFormatAttribute seems to be ignored. The Problem is that the count of the rows vary, so I can't predefine the format using Rows.Add().Cells(c => c.Add().Format("dd.MM.yyyy HH:mm").
How can I achieve the Timestamps to be displayed with date AND time?

Hi there
da-DK is my culture name and I set the globalization correctly.I have a problem with NumericTextBox. My database field value is 4587.25.It is rendering expected in Firefox (4.587,25) and IE, but making a problem in Chrome (empty numeric textbox), I saw a warning in Chrome console.
The specified value "4587,25" is not a valid number.The value must match to the following regular expression:-?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?
How can I fix this chrome behavior? I built a small a project and added some code to generate the problem. Index.cshtml contains a extension method BeginForm2(), inside this method I wrote my code.Download
Thanks
Sabbir
Hello,
When I try to bind a NumericTextBox or a CurrencyTextBox to a decimal number, I get in the javascritpt console the following error:
"The specified value "2,5" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?"
The problem seems to be because we use a comma to represent a decimal separator.
I set the culture kendo.culture.es-AR to my layout so the controls should support this.
Can I configure a number format for numeric controls in my proyect to accept a comma for decimal separator?
Thanks.

Hi,
In WebForms I could avoid changing the html i tags to em (and other tags).
In .net core I don't see a way to accomplish that.
Is it possible?
Thank you
Does anyone have an example for the kendoDropdownList that uses the MVC Core tag helper, and uses local binding? The tag helper sample in the demos binds to remote data only. Thanks!

Please provide an example of Async file upload in Razor using .net Core. The only examples I can find use the HttpPostedFileBase which is replaced in .net core.
http://demos.telerik.com/aspnet-mvc/upload/async
Please post a how to, or direct me to an appropriate existing document guide on how to implement this in .net core. Is this supported yet? If so where can I find the correct documentation with demos and example code?
Thanks

I have no issue getting the value from the cell using:
funciton onSelect(arg) {
var cellvalue = arg.range.value();
}
Do you have documentation on how to get the selected column and row index?
When mapping a date file as grid column, it's not being transformed into a DatePicker.
This doesn't happen with Edge, Chrome or the latest Firefox, I'm only experiencing this with the ESR version of Firefox.
Example:
@(Html.Kendo().Grid<HuntingReportModel>()
.Name("test")
.Columns(x => x.Bound(y => y.Date))
.ToolBar(x => x.Create()))
See attachment for the resulting control...
using jquery ui without the wrappers it works.
manually calling .kendoDatePicker helps but it's really just a bad workaround...
Browser: Firefox ESR (52.5.3 & 52.6.0)
Kendo: 2018.1.117
