When loading a Web-App that includes some of the Kendo UI components I can see in the Browser that it throws an error: 414 - Request URL too long. The URL is:
https://mywebsite/Content/kendo/2018.1.221/data:application/font-woff;base64,...
and then a lot of characters (I assume that is the content of the woff file). The Web-App is hosted on Azure, the web.config includes the correct MimeMap. What is going wrong?
Regards
Heiko
I have a grid set when I'm pulling one of the fields in using an inline drop down list.
I can retrieve the values I need from the dropdown list data item, and i can set the values in the grid's edit row using the dropdown list.
The following code works fine as long as A, B, C, and D are editable... BUT... these values should not be editable. The values in these cells should be driven strictly by the values of the drop down list.
I feel like I should be able to display the values in a template column, but I'm not finding any good documentation on column.template.
function ddl_OnSelect(e){ var DDLdataItem = this.dataItem(e.item); var A = DDLdataItem.A; var B = DDLdataItem.B; var C = DDLdataItem.C; var D = DDLdataItem.D; var grid = $('#grd').data('kendoGrid'); var editRow = grid.dataItem("tr.k-grid-edit-row"); editRow.set("A", DDLdataItem.A); editRow.set("B", DDLdataItem.B); editRow.set("C", DDLdataItem.C); editRow.set("D", DDLdataItem.D);}
Hi,
I am expecting a large amount of data to be displayed in the grid and used paging. I tried to use the Kendo.Mvc.Extensions ToDataSourceResult method but don't want to expose my context in the controller. Is there any way to achieve this?

Hello!
I've been trying to see if there's a way to set the datasource for in-row filtering? I'm confused since I added the filtering successfully to the in-menu filtering but the in-row just ignores and uses the default grid's datasource to fetch all filter options. Here's an excerpt from a defined column in the grid:
cols.Bound("JobNumber").Title("Job").Filterable(f => f.Multi(true).Search(true).DataSource(ds => ds.Read("JobNumbers", "Filter")));
So the above totally works as expected using the in-menu filtering but the in-row ignores this. Anyway to achieve what I'm looking for? Thanks!
Hello
I am trying out Kendo for MVC and I'm having some difficulties with a custom URL action.
Previously I used DataTables in which I had a column for Edit, Details and Delete options which triggers the record to edit and a JavaScript function that initializes a partial view popup where I can edit, view or delete the record.
Here is an example of the code from the column inside DataTables that I used:
return '<a href="@Url.Action("Edit", "Country")?id=' + data + '" class="editCountry">Edit</a>;
And here is the JavaScript function that us triggered when I click on Edit:
$('#countriesTable').on("click", ".editCountry", function (event) { event.preventDefault(); var url = $(this).attr("href"); $.get(url, function (data) { $('#editCountryContainer').html(data); $('#editCountryModal').modal('show'); }); });
Here is my current code for the edit button inside the Kendo Grid:
columns.Template(@<text>Actions</text>).ClientTemplate("<a href='" + Url.Action("Edit", "Country") + "/#=CountryIdentifier#'>Edit</a>");
When I click on the edit button it tries to edit the record on a new page which obviously won't work because I'm using a partial view.
How can I trigger the same JavaScript function I used in my DataTables Column inside my Kendo Grid Column?
Thanks
Hi,
I was trying to frozen my first column on Kendo Grid:
@(Html.Kendo().Grid<AssortmentResult>()
.Name("transomGrid")
.Columns(columns =>
{
columns.Bound(d => d.Style).Width(100).Locked(true).Lockable(false).Filterable(false);
columns.Bound(d => d.StyleOption).Width(110).Filterable(false);
columns.Bound(d => d.WidthDescription).Title("Width").Width(100).Filterable(true);
columns.Bound(d => d.DoorCollectionCode).Width(150).Filterable(true);
columns.Bound(d => d.GlassDesign).Width(150).Filterable(true);
columns.Bound(d => d.DealerMarkupWithCommission).Width(150).Filterable(false);
columns.Bound(d => d.FlatRate).Width(150).Filterable(false);
columns.Bound(d => d.FinalRetailPrice).Width(150).Filterable(false);
columns.Bound(d => d.DoubleDeduct).Width(150).Filterable(false);
})
.DataSource(d => d
.Ajax()
.PageSize(500)
.Read(read => read.Action("DisplayTransoms", "Existing", new { area = "Assortment", assortmentId = (int)ViewData["assortmentId"] }))
)
.Scrollable(scrollable => scrollable.Height(540))
.Reorderable(reorderable => reorderable.Columns(true))
.Resizable(resizable => resizable.Columns(true))
.Filterable(filterable => filterable
.Extra(false)
.Operators(operators => operators
.ForString(str => str.Clear()
.StartsWith("Starts with")
.IsEqualTo("Is equal to")
.IsNotEqualTo("Is not equal to")
))
)
.Pageable()
.Sortable()
)
But when rendered, the column header of the first column is missing but its content is being displayed which make the header and the content of the grid not even.

Hey folks,
When I export my grid to Excel, the client footer value is formatted as a string (see the Excel image below).
Is it possible to tell Excel that this is a numeric value?
Thanks,
Ken
columns.Bound(e => e.Total).Title("Amount").Width(120).Format("{0:C}").ClientFooterTemplate("#= kendo.format('{0:c}', sum)#");
Hi everyone,
I have aproblem with the Kendo UI TreeView and I'm looking for a solution for a while now.
In my view I fill my TreeView like this:
Html.Kendo().TreeView() .Name("treeview") .BindTo((IEnumerable<TreeViewItemModel>) ViewBag.inlineDefault) .Events(events => events .Select("onSelect") )private IEnumerable<TreeViewItemModel> GetDefaultInlineData(ArrayList tables) { List<TreeViewItemModel> names = tables.Cast<TreeViewItemModel>().ToList(); List<TreeViewItemModel> inlineDefault = new List<TreeViewItemModel> { new TreeViewItemModel { Text = "Tables", Items = names } }; return inlineDefault; }My onSelect funtion is the following:
<script> function onSelect(e) { $.ajax({ type: 'POST', url: '/Editor/GetTableContent' , data: { tableName: ?????? }, success: function (data) { $('#table').html(data); } }).done(function () { alert('Done'); }); }</script>It calls a mehtod in my controller that needs the name of the selected node as parameter (string) to display the content of a table in a grid.
Is there a possibility to get what I need?
Thx for your help!
Erik

Hi,
Please look at the screenshot of the Progress Control Panel and Visual Studio 2017 and let me know why Telerik ASP.NET MVC Application is not showing up in Visual Studio? Do I need to download anything else in the control panel for it to show up?
Thank you.
Is it possible to trigger the clear button on a ComboBox?
I'm using $("#ComboBox").data("kendoComboBox").text(''); and $("#ComboBox").data("kendoComboBox").select(-1); to "clear" the input, but the X button is still present when you hover over the input.
Thanks
