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
6
votes
6 answers

Kendo Grid Automatically changing Timezone

On my Kendo Grid I recieve date time from server. On the client end, this time is changed to client's timezone and that is displayed. How can I show the same time from the server to the client. the following is my kendo code for binding the…
Raju S Nair
  • 333
  • 2
  • 5
  • 17
6
votes
2 answers

How do I clear / reset a Kendo DropDownList with only javascript?

I have a Kendo DropDownList (name=Function) that contains 3 options. When one option is selected, it triggers an ajax call to get data to populate a different DropDownList (name=Parents). This works as-expected. However, if the user then changes the…
Josh
  • 1,876
  • 3
  • 21
  • 35
6
votes
1 answer

How to use client template expressions in ajax binding of a mvc kendo grid?

I have a two-layer hierarchical grid that I am moving from server side binding to using ajax. The ajax reads for both layers of data are working correctly however I am having difficulty using the ClientTemplate to render my columns based on…
David
  • 15,150
  • 15
  • 61
  • 83
6
votes
1 answer

Kendo UI Editor max and minimum characters

I am using MVC extensions for Kendo UI editor. Is there an option to set the minimum and maximum number of characters excluding the HTML content. I used StringLength attribute but that includes the HTML content.
Samuels Sons
  • 73
  • 1
  • 5
6
votes
3 answers

Kendo Grid model with an IEnumerable property not updating correctly after Create/Update when using AJAX binding

I'm having a problem where a property of my model is not being correctly updated when sending it to my controller for an Update or Create call from a Kendo Grid. The model looks like this: public class ReleaseNotesModel { public int NoteID {…
Alejo
  • 1,913
  • 3
  • 26
  • 44
6
votes
2 answers

Kendo UI Editor - Remove a specific tool from editor-menu

How can I remove a specific tool/button from Kendo Editor control? Actually, I just want to remove Insert image button from Kendo Editor(all tools) control. @(Html.Kendo().Editor() .Name("editor") .Tools(tools =>…
Paritosh
  • 11,144
  • 5
  • 56
  • 74
6
votes
1 answer

Unit Testing Controller Actions in MVC4 with Kendo UI

I'm in the process of writing some unit tests for our controllers. We have the following simple controller. public class ClientController : Controller { [HttpPost] public ActionResult Create(Client client, [DataSourceRequest]…
Alex
  • 1,322
  • 1
  • 20
  • 44
6
votes
3 answers

How to disable cascaded Kendo DropDownLists?

I have two Kendo DropDownLists, I want to disable second DDL when the value of the first DDL is loaded and bounded to the value of my viewmodel. So I have such code: @(Html.Kendo().DropDownList() .Name("FormGroupId") .HtmlAttributes(new…
Jevgenij Nekrasov
  • 2,690
  • 3
  • 30
  • 51
6
votes
4 answers

Kendo UI TabStrip - Selecting a tab by it's Text

I am trying to select a tab in javascript when I only know the Text of the tab I know to get the Selected Tab I do this: var tabStrip = $("#tabMain").data("kendoTabStrip"); var tab = tabStrip.select(); How do I cause the Selected Tab to be the one…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
6
votes
2 answers

How do I refresh a Kendo UI combo box?

I have an ASP.Net MVC Kendo UI combobox that is databound to a table with 1000's of records. I've set the MinLength property to 5 so I only return relevant results. The problem is, the user might need to change the text value all together. Is there…
5
votes
1 answer

Kendo UI MVC Grid Popup editor display date field formatted

I have a mvc grid with a custom popup editor that I want to display a date time in. How do you format the date when using this type of binding? But is still shows up as:…
crichavin
  • 4,672
  • 10
  • 50
  • 95
5
votes
1 answer

Kendo : How do i keep the toolbar when i save and restore a grid state?

I kept the title generic because i don't care if the answer I get is in jquery, javascript, or specifically to MVC. I have this code to save and load a grid: $("#save").click(function() { var grid = $("#grid").data("kendoGrid"); var dataSource =…
John Lord
  • 1,941
  • 12
  • 27
5
votes
3 answers

How to disable the past dates in the Kendo date picker?

How to disable the past dates in the Kendo date picker ? ( Date Picker validation) That will allow the user to select only the current date and future date. In the HTML : @Html.EditorFor(Model => Model.AppointmentDate) In the JQuery…
goofyui
  • 3,362
  • 20
  • 72
  • 128
5
votes
2 answers

Days between two dates kendo DateTimePicker

Good day, I need to get the number of days between two dates entered into two kendo.DateTimePickers. My solution always ends with NaN value. RentStartDate and RentEndDate are stored in db as DateTime. Thank you for your…
5
votes
1 answer

Get ID attribute from Kendo dropdownList change event

I am using the kendo dropdownlisthelper, which has a change event, see below @(Html.Kendo().DropDownListFor(m => m) .Name(Model.Name) .Text(Model.PlaceHolder) .BindTo(Model.ListItems) .DataTextField("Text") …
MCSD
  • 151
  • 2
  • 12