Questions tagged [kendo-ui-mvc]

Server side wrappers that enable the use of Kendo-UI widgets from the back-end in MVC applications.

0
votes
0answers
9 views

How to bind series to specific axis in kendoUI-mvc chart?

I have a controller method that returns data to be shown on the kendo-mvc chart. Number of series I want to show is determined on the server side. What I want to do is to show multiple series on the ...
0
votes
0answers
10 views

Kendo editor toolbar rendering outside of editor frame

We are having two tabs on page. tab contains details of customer (active tab) tab having Editor control and loading from database contents ​ The problem is when the page is loaded and we open second ...
1
vote
1answer
16 views

Problems with editor showing html tags instead of data

I have a kendo grid having some columns. The index page listing my data. My problem is that when i click edit button the whole row become html tags. Do anyone have idea about this problem.My code as ...
1
vote
1answer
53 views

Client template not working in kendo grid

I have kendo grid having some columns. I'm trying to hide a checkbox conditionally using client template. When i using client Template it works fine. The above code hide the element when the condition ...
0
votes
2answers
35 views

Hide an element conditionally by its value

I have a kendo grid containing following columns. 1.Name 2.Age 3.Type{values:public,private} I need to hide a column in specific row. In my problem, i want to hide age cell if Type value is ...
0
votes
1answer
19 views

Database driven Imagebrowser for Kendo UI for Asp.Net Core

This is a question I'll answer myself. I've spent a couple of hours trying to make it work, based on the example provied here: https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/editor/...
1
vote
1answer
41 views

Binding data source in kendo grid on mvc

First of all this is my first work using kendo ui. In work i have some data from database, i would like to replace my mvc webgrid into impressive kendo grid. I have created a list from database and ...
0
votes
0answers
24 views

kendo ui mvc datetimepicker culture problem

I have a problem with my kendo datepicker. Culture validation doesn't work correctly. German format was shown as an error. I'm using the kendo Version 2019.1.220. Date 31.12.2019 is shown as error. ...
0
votes
0answers
34 views

How to use ModelMetadata method in kendo ui

I am using Kendo controls in MVC 5 application with razor view Can we use ModelMetadata()? How to use it? @Html.LabelFor( m => m.prperty) Similar to LabelFor, i want to bind the property to the ...
0
votes
0answers
40 views

Is Kendo-ui-2017.1.118 compatible with jquery-3.3.1.min.js

I am trying to add/edit kendo grid item with popup window. The window is coming but onOpen when I am trying to get $("#controlId).data("kendoDropDownList), I get "undefined". Using kendo version 2017....
1
vote
1answer
144 views

Why The DropDown list template of kendo ui sample for ASP.NET MVC 5 dont run right?

I use dropdown template for kendo ui Grid.this example was for ASP.NET MVC but when click on the dropdown, it display ID and Name that is not dropdown. I copied and replaced the code but instead of ...
0
votes
0answers
29 views

How to use select tag in kendo ui grid in ASP.NET MVC 5?

I trying to use kendo ui for first time,i want to create kendo ui that has a list of some roles for users.so i need to have a row with UserName and ... list of roles.but i do not know how to create ...
1
vote
1answer
294 views

Setting Kendo UI Grid DataSource Read property with Handler in ASP.NET Core MVC with Razor Pages

I am using the Kendo UI for ASP.NET Core MVC suite with a Razor Pages web application so I am trying to use the handler technique for the grid's server operations. @(Html.Kendo().Grid<...
1
vote
1answer
74 views

Kendo UI Scheduler incorrectly calling WebAPI

I have been looking around the Telerik forums & Stackoverflow for an answer for this and I am completely stuck and unable to figure out the issue. I am using the Kendo UI for Asp.Net Core ...
0
votes
0answers
19 views

Kendo-ui Upgrade from Web API to .NET Core

I have a Web API app that uses Kendo on the front-end. The front end uses the kendo.data.transports.webapi Class that is located in kendo.aspnetmvc.js library in order to communicate with the ...
0
votes
0answers
18 views

Trying to expand row of hierarchical grid via statement in dev console window

Im trying to get the statement syntax worked out to expand a row using a reference to a row object I already have. $("#MyPaymentsGrid").data("kendoGrid").expandRow(rowToExpand); Where rowToExpand is ...
0
votes
1answer
68 views

Kendo TreeList: expanded should stay expanded for user experience

I have a Kendo TreeList and can edit each item. After editing, I do treeList.dataSource.read(); This causes every item to collapse (because the default .expand is false). But I want that ...
0
votes
0answers
46 views

Kendo UI Error System.NullReferenceException in .NET Core 2.0

i'm recently using Kendo.Mvc for my project. I'm using Kendo.Mvc v2016.2.616 from NuGet But it got error when i use it. Here's my .cshtml file @(Html.Kendo().Grid<TestViewModel>() .Name("...
0
votes
1answer
470 views

What event is called when we click the Filter button in Kendo Grid

I have a Kendo Grid in my ASP.NET MVC Web Application. There's filter used on each column. I need to use the value selected from the Filter and save it for maintaining log. How can I access the value ...
1
vote
0answers
85 views

How to render text as html in render message attachment in kendo chat in asp.mvc?

I am using kendo.ui.Chat api in asp.net mvc and i want to render the text feature in renderMessage method as HTML, which is not rendering right now. Input : chat.renderMessage( ...
-1
votes
2answers
406 views

How to manually set : kendo-ui numerictextbox's currency

I have that numerictextbox which shows amount with currency. I wanna display my Model's currency but that numerictextbox always shows culture's currency. For exp. If I change website's language German ...
0
votes
1answer
40 views

ajax read.Action not calling if Model.customerId has decimal in value

I am using Telerik UI for ASP.Net MVC Grid tabstrip. I have two tabs. Problem is that if the model.customerId has decimal in value then it does not call read actions like (.Read(read => read.Action("...
0
votes
0answers
48 views

Kendo Datasource Model Design

I am new to Kendo UI, so need your help. Please provide your thoughts to achieve the expected result. Here is the details: I am designing a web page, which is shown here: I have a textbox where ...
0
votes
0answers
111 views

Validate kendoUI DataSourceRequest object in c#

I have a tool that's feeding a bunch of gibberish at my site for security purposes, but one thing that is erroring my system out is the DataSourceRequest object in the controller. for a sample piece ...
1
vote
1answer
189 views

Selecting first item, if initial value does not exist

Here we have my combobox: @(Html.Kendo().ComboBox() .Name("depots") .DataTextField("Text") .DataValueField("Value") .Height(500) .Filter(FilterType.Contains) .Events(ev => ...
0
votes
1answer
287 views

KendoUI forcePageBreak does not display long Partial Views

I'm currently trying to save a PDF for a web application with many pages. I call the partial views into one main page and use KendoUI to save the DOM into the PDF. Because some of these pages are very ...
8
votes
2answers
246 views

Dynamically build lambda expression from a collection of objects?

I have a list of sorts stored in this format: public class ReportSort { public ListSortDirection SortDirection { get; set; } public string Member { get; set; } } And I need to turn it into a ...
-1
votes
1answer
335 views

How to set Kendo UI TimePicker interval dynamically?

I have a dropdown displays time interval 5,10,15 when i change dropdown ,timepicker interval need to set dynamically Thanks in Advance.
0
votes
1answer
260 views

Sorting and Filtering breaks when using a Complex ViewModel w/ Kendo UI grid

I am using Kendo UI for ASP.NET Core. I am using a Kendo Grid and need the following features to work: Sorting, Filtering, Editing (w/ Customers ComboBox in cell). It turns out that you need a Complex ...
0
votes
1answer
995 views

Custom Editor Template not working for Kendo UI for ASP.NET Core Scheduler widget

I am using Kendo UI for ASP.NET Core in an ASP.NET Core MVC Web application. I followed this example to use a custom editor template for my Kendo UI Scheduler. I made sure my EventViewModel ...
0
votes
1answer
34 views

Why is it not possible to group Telerik chart legend items?

I would need to group the elements of a Kendochart series, so they are separated as follows: Group Title 1: Serie 1. Serie 2. Group Title 2: Serie 3. Serie 4. I tried it with a template, but it ...
0
votes
0answers
18 views

Custom Editor of Grid does not work as expected

I am using grids popup editor to edit the grid row. in that I am using custom editor (DropDown control) for some of field of Grid. Following is code for that Dropdown editor: function ...
0
votes
1answer
569 views

Kendo ui mvc dropdownlistfor with boolean type value using Entity Framework

@Html.Kendo().DropDownListFor(model => model.Is_Active) //instead of @Html.EditorFor(model => model.Is_Active)" I am using entity crud operation and Is_Active is a boolean type value. On ...
0
votes
1answer
45 views

Optimizing related data queries with a View Model

I have a Kendo UI MVC Core Orders grid with a MultiSelectFor column which can have multiple customers. All is working fine but I have more than 2000 records so it takes really too long to display my ...
0
votes
2answers
766 views

Kendo Upload control remove event has no response

I have a kendo upload control like this: @(Html.Kendo().Upload() .Name("attachments") .Async(a => a .Save("UploadAsync", "Intel") .Remove("RemoveAsync", "Intel") ....
0
votes
0answers
435 views

Kendo MVC grid column multi filter with nested class

I am using Kendo MVC wrapper for my grids here is my column bound code. columns.Bound(c => c.TypeId).Filterable(x => x.Multi(true).UI("").DataSource(ds => ds.Read("Types", "Ticket"))....
0
votes
1answer
271 views

Kendo Ui MVC rid export selected lines to pdf with empty placeholder for non selections

I have a Kendo ui grid with a PDF export tool enabled. I want to be export only the selected lines to PDF while leaving the empty lines for the un-selected ones. For example if I have the following ...
6
votes
3answers
4k views

Kendo UI for ASP.NET Core - kendo is not defined

I keep getting the following error when I try to create a Grid or a Chart using Kendo UI. A simple ComboBox will work, though. We are using the commercial lisence and downloaded the js and css from ...
0
votes
1answer
91 views

KendoUI TimePicker

I'm using Kendo UI and the time picker is not showing a value also there is a value. I'm using ASP MVC 4 and loading passing model data to the view. All the data is there in the model.. but for a ...
0
votes
1answer
7 views

Cannot filter files using Kendo Upload with rRazor

I saw no information on this topic really, except for info on how to filter files when using the latest Kendo library. So I am posting how I did it for others to use if they need to.
1
vote
1answer
408 views

Display Dollar symbol($) on kendoui grid Column Value

How do i add a dollar symbol before the column value in kendoui grid mvc. Here is the code to bind that particular row. columns.Bound(x => x.TotalAccountValue);
0
votes
0answers
8 views

concardation of chart in kendoui mvc

I am using two chart in two different place and both the chart shown sam data and using different controller and model. here is the code: @(Html.Kendo().Chart<AccountChartModel>() ....
0
votes
1answer
132 views

how do i call the controller in kendo ui grid mvc

How do i call the controller in mvc kendoui grid here is the code: but not working: .ClientTemplate(string.Format("<a class=\"modal\" rel=\"/address/#= Id #/map\" close=\"{0}\" title=\"{1}\"&...
3
votes
0answers
292 views

Cannot read property 'value' of undefined in Kendo Pivot Grid MVC

I am working with Kendo Pivot Grid. When I expand row I get error in console. Cannot read property 'value' of undefined. Before I get error I was refresh datasource with JavaScript and I didn't ...
1
vote
2answers
2k views

How-to prevent CSRF / XSRF in ASP.NET Core MVC App Web API Controller

Adding Anti Forgery to an Asp.Net Core MVC app is easily done by applying the ValidateAntiForgeryToken attribute to the action and using a sp-antiforgery=true in the form. How can I secure a CRUD ...
0
votes
1answer
339 views

AntiForgeryToken in MVC

I am opening an kendo window using the below jquery function. I need to pass __RequestVerificationToken to the MVC Controller because I am having ValidateAntiForgeryToken Attribute. However, I am ...
0
votes
1answer
97 views

Kendowwindow __RequestVerificationToken

I am opening an kendo window using the below jquery function. I need to pass __RequestVerificationToken to the MVC Controller because I am having ValidateAntiForgeryToken Attribute. However, I am ...
1
vote
2answers
249 views

Kendo UI not loading data on button click

Please don't mark it as duplicate as there are other questions on SO with similar problem as well and I have gone though them. I am trying to load Kendo grid on button click but it doesn't seem to be ...
0
votes
0answers
650 views

Add DropDownList as column in KendoUI grid

I'm working with KendoUI and MVC 5 I have a server-side model like this public class ApplicationModel { public int Id { get; set; } public string Name { get; set; } public ...
0
votes
1answer
242 views

Placing other Kendo widgets inside Content of Window for ASP.NET MVC

Is it possible to use razor syntax to add kendo widgets inside of the Content of a Kendo Window? Here is an example of what I am trying to do but the kendo widgets aren't loading properly: <...