Questions tagged [kendo-asp.net-mvc]

Questions regarding server side wrappers enabling the use of Kendo UI widgets from C# or VB.

Kendo UI for ASP.NET MVC is a set of server-side wrappers that allow using the Kendo UI widgets from C# or VB.NET code.

A server-wrapper does the following.

  • Allows the developer to configure a Kendo UI widget via C# or VB.NET code - set its value, data source etc.
  • Renders the HTML and JavaScript needed to initialize the Kendo UI widget. The widget options propagate to the client-side via the widget initialization script.
Kendo UI Web
Contains the core functionality of Kendo UI framework, including the DataSource component, templates, drag-and-drop, and themeable widgets with integrated animations.

Kendo UI DataViz
A collection of HTML5-powered, mobile-ready, data visualization widgets.

Kendo UI Mobile
Native UI widgets for building HTML5-powered apps and sites for modern mobile devices.

Resources


Related tags

2730 questions
39
votes
8 answers

Format DateTime in Kendo UI Grid using asp.net MVC Wrapper

I want to build a Kendo UI Grid with format date dd//MM/yyyy. However, all questions that I found about this, it were resolved with code Format("{0:d}");. So, I have tried like a code below: GridBoundColumnBuilder builder =…
36
votes
13 answers

How can I refresh the grid after I edit the Kendo UI grid?

I edit the grid using editable: "popup" as shown on Telerik's demo page. After I edit the grid, I want the grid to refresh. Does the grid have any event that is called after I edit the grid? I tried to use the databound event. In this event I make…
flower
  • 2,212
  • 3
  • 29
  • 44
27
votes
4 answers

Send Additional Parameter in Kendo Grid Read Action

I have a kendo Grid as follows. @(Html.Kendo().Grid() .Name("WeeklyRevenue") .Resizable(resizing => resizing.Columns(true)) .Columns(columns => { columns.Bound(p => p.Number).Width(100); …
user3210746
27
votes
6 answers

Make cell readonly in Kendo Grid if condition is met

Let's say I have a data like this: [ {ID: 1, SomeForeignKeyID: 4, IsFkEnabled: true}, {ID: 2, SomeForeignKeyID: 9, IsFkEnabled: false} ] Kendo Grid is using this data: columns.Bound(m => m.ID); columns.ForeignKey(p => p.SomeForeignKeyID,…
Andrzej
  • 848
  • 1
  • 11
  • 26
22
votes
2 answers

Change kendo grid Datasource use JS

I have Kendo grid and I set data source use this .DataSource(dataSource => dataSource .Ajax() .PageSize(20) .Read(read => read.Action("GetWorker",…
Std_Net
  • 1,076
  • 3
  • 12
  • 25
16
votes
2 answers

MVC bundeling : Err 403

Using VS'12, Asp.net - C# - InternetApplication Template, KendoUI, EF Code First This is my MVC BundleConfig.cs bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); …
15
votes
4 answers

kendo.syncReady is not a function

I am really new to Kendo UI, and I've encountered some problems along the way. After I used BundleConfiguration, which solved the references problem, an error was displayed: kendo.syncReady is not a function Here is my view: …
George Great
  • 243
  • 1
  • 3
  • 14
14
votes
3 answers

Kendo Grid Edit InLine Custom Validation message e.g. for duplicate Names etc

I have an entity Location and I am using the Kendu UI Grid with InLine edit mode. The entity owns a property DisplayName, which is required and must not exist twice in the database. At the moment, it works to display the Required Validation…
florian.isopp
  • 834
  • 2
  • 12
  • 36
14
votes
8 answers

How to add row number to kendo ui grid?

I have a kendo ui grid in my page that has some columns. Now I want to add a column to it that shows me row number. How to I do this? Thanks.
Tavousi
  • 14,848
  • 18
  • 51
  • 70
14
votes
7 answers

Kendo dropdown width

Hi can someone tell me how to set width for kendo dropdown? Here is my code sample and it is not working. Anything wrong in that? $("#div1").kendoDropDownList({ dataSource: items, dataTextField: "Name", dataValueField: "Id", Width :…
jestges
  • 3,686
  • 24
  • 59
  • 95
13
votes
1 answer

Put editor templates in view's folder with ASP.NET Core MVC 6

with MVC 4 I was able to put a view's editor templates into the view's folder: AwesomeApp/Views/UserMgmt/EditorTemplates/UserSettings.cshtml. Now I am using ASP.NET Core MVC 6 and it does not find the editor template. I have to put them into…
13
votes
3 answers

How to set columns dynamically in Kendo template

How to set columns dynamically in Kendo template for kendo grid.In my kendo grid,columns are subject to change dynamically based on user preference.How to dynamically create Kendo Template?I am using Kendo JavaScript,I can switch to Kendo MVC if…
F11
  • 3,703
  • 12
  • 49
  • 83
13
votes
3 answers

Telerik Kendo MVC TextBox Multiline Mode

Does anyone know what properties to set to make a Kendo MVC Textbox Multiline? @(Html.Kendo().TextBox() .Name("txtComments") .Value(@Model.Comments) .HtmlAttributes(new { style = "width:100%" }) ) Thanks.
Cef
  • 661
  • 1
  • 6
  • 26
13
votes
5 answers

Horizontal scroll for a Kendo Grid

I have a Kendo Grid inside a Kendo Window. How can I enable its horizontal scrolling using wrappers? I've tried anything, but none of them worked. The last thing I tried was surrounding the Grid with a width-limited div.
Akbari
  • 2,369
  • 7
  • 45
  • 85
12
votes
6 answers

Kendo UI: Conditionally preventing a Tooltip from being displayed on a Grid cell

I'm working on trying to display a Kendo tool tip on a grid cell, getting the content from an ajax call. My tooltip declaration looks like the below: var grid = $("#myGrid").data("kendoGrid"); grid.table.kendoTooltip({ width: 300, …
loxdog
  • 1,007
  • 3
  • 12
  • 30
1
2 3
99 100