Questions tagged [kendo-asp.net-mvc]
Questions regarding server side wrappers enabling the use of Kendo UI widgets from C# or VB.
2,728
questions
0
votes
0
answers
5
views
How can I get the a message No data found message from the Kendo ComboBox when the user give wrong input to Combo textbox
I am trying to prevent the users to give wrong input and if they type anything other than from the combo list, it should give the message 'Not Data Found'. How is it possible from my code given below ...
0
votes
0
answers
32
views
How can I use Kendo DataSourceRequest in Abp?
I have an Abp project; I want to read data for show in kendo grid.
my code is:
[HttpPost]
public async Task<DataSourceResult> ReadAsync([FromBody][DataSourceRequest] DataSourceRequest ...
0
votes
0
answers
13
views
Why i can't send kendo grid filters from javascript ajax request to controller?
I have kendo mvc grid and i want to export it to csv file on my button click on toolbar.
When i click button i can get grid options and total count of data but cannot express filters to controller.
Do ...
0
votes
0
answers
15
views
How to properly use Telerik / Kendo MVC routing with API calls
I've been using the Kendo MVC controls with WebAPIs but it has always irked me that I can't utilise the URL routing to what I would like.
If the list's contents are static and always points to one URL ...
0
votes
0
answers
12
views
Trying to access Action method in Area for Kendo Combobox datasource
So my combobox is not hitting my method in my Area/Controller. Here is my view:
<div class="form-group" id="assets_group">
@Html.LabelFor(x => x.LinkedPACIds, "...
0
votes
1
answer
16
views
Kendo dropdownlist does not re-render when datasource is refreshed in MVC application
I have an MVC application with a razon page and 2 kendo dropdownlists. This is the definition of the first dropdownlist:
@(Html.Kendo().DropDownList()
.Name("TaxYearDropDown")
....
0
votes
0
answers
25
views
Model Properties assinged by jquery are null at post in ASP.Net MVC
Hi I have a dropdown that populates based on selection from another dropdown. Father dropdown when click change event occur and it send the value to populate the data for child grid. When user clicks ...
1
vote
0
answers
37
views
One action method route parameter causing action to be not found in ASP.NET Core 6 MVC
I am working on an ASP.NET Core 6 MVC app. I have an action method where I define the verb and a route like this:
[HttpGet, Route("/Table_Read")]
public async Task<JsonResult> ...
0
votes
1
answer
32
views
Kendo NumericTextBox shows decimals on inital render
I have the following kendo NumericTextBox on my .cshtml page:
@(Html.Kendo().NumericTextBox()
.Name("txtFrmSettMemoFDTFee")
.Max(100)
.Min(0)
.Decimals(0)
.Format("\\#&...
0
votes
1
answer
17
views
NOT Remember selected rows in a kendo grid if I scroll past the first 20 records, because it then gets the data from the 21st row onwards
This is how the grid looks like.
@{
Html.Kendo().Grid(Model)
.Name("Processes")
...
0
votes
1
answer
26
views
Kendo Grid - How do I compute a grid cell value based on other grid cell values
I have a kendo grid which receives data from an MVC controller. The grid displays correctly and 1 of the columns is editable. This is what the grid looks like when it is first rendered:
The ...
0
votes
0
answers
12
views
Detail Grid with DropDowns as columns dont show correct value until clicked to edit
Grid with Parent rows and Detail Table.
Parent row has a DropDown bound to choices.
The data in the Detail Table includes a DropDown bound to same choices.
When page 1st renders all the DropDowns in ...
0
votes
0
answers
33
views
Kendo grid update with form data in MVC application
I have a kendo grid in an schtml page. There are also text boxes and dropdown combo boxes on the page. In addition, some of the grid cells are editable and other cells are computed based on the data ...
0
votes
0
answers
27
views
Kendo Grid does not show text as I type it into the cell
I have the following Kendo grid:
@(Html.Kendo().Grid<TaxCertApp.ViewModels.SettlementMemoViewModel>()
.Name("SettlementMemodGrid")
.Columns(columns =>
{
columns.Bound(nr =&...
0
votes
0
answers
16
views
Creating a dropdown list for filtering in Kendo Grid
So I need to create a dropdown list for filtering students name. The names should appear in dropdown list after creating a new record.
@using TelerikStudent.Models;
@{
ViewData["Title"] ...
0
votes
0
answers
26
views
Change All DropDowns in DetailTable
Using Telerik ASP.NET MVC library. So have a Grid with a DetailTemplate that is a child grid. In the detail grid every row has a Telerik DropDownList. The parent table row also has a DropDownList.
...
0
votes
0
answers
33
views
Kendo RadioButtonBuilder does not contain a definition for 'Size'
At my company we use Kendo for all our UI components. We don't have a ton of Radio Buttons and I was told they want to make them smaller, however, when I try to add the .Size (as according to the docs)...
0
votes
1
answer
58
views
InvalidOperationException: The following sections have been defined but have not been rendered by the page at '/Views/Shared/UserLayout.cshtml'
I'm trying to convert an ASP.NET MVC project to ASP.NET Core MVC. I have done most of the work but got stuck in a weird issue.
My project has a view User.cshtml and a layout page UserLayout.cshtml, ...
1
vote
1
answer
72
views
Kendo Autocomplete not working after upgrading the kendo version
We have an ASP.NET MVC application using KendoUI jQuery components. The KendoUI version used is 2014.3.1411 and every thing works very good here.
Recently I have been assigned to upgrade the KendoUI ...
0
votes
0
answers
18
views
ASP.NET MVC Unable to post data to server when there are multiple upload controls
I have the following UI where I am telerik controls and posting the data to server
@using (Html.BeginForm("Add", "Storage", FormMethod.Post, new { @id = "frmItem", @class ...
0
votes
0
answers
17
views
Can't find scripts within partial views in MVC
I'm trying to create an MVC partial view, that displays a pair of linked Kendo UI list boxes. Here is the code as I've written it so far:
@model MyProject.Areas.Items.Models.ItemGroupsViewModel
<...
0
votes
0
answers
37
views
In kendo grid group wise sortable rows in MVC
I'm able to drag-drop individual rows in the KendoGrid.
but I want to drag and drop rows groups-wise.
Any suggestion for this? how can I achieve this?
Kendo MVC code
//Model class
public class ...
0
votes
2
answers
97
views
Kendo foreignkey column change event
I have a kendo grid with foreign key columns. how do i get an event when the user changes the value from the foreign key dropdown?
I've tried specifying an id and change event but itdoesnt seem to ...
0
votes
0
answers
16
views
Keeping Kendo pagination state after clicking on details URL and returning to page two
The problem in the below line of code is when I click on the details URL on page two and comeback to that page the kendo shows me page 1. How can I selected the current page and if a person has make ...
0
votes
0
answers
74
views
Kendo Grid autoFitColumn is not working properly
I am using Kendo grid, I want to show all the data so I used autoFitColumn. Sometimes it's working and sometimes it gets shrined all the columns. When I click on the grid then it gets resized properly....
0
votes
1
answer
30
views
How to make the radio button of the first row and last column checked when the Kendo UI grid loads
I have a simple Kendo grid as shown below:
When the Grid table load, I want the radio button indicated above to be checked. I am fairly new with Kendo and can't seem to figure out how to accomplish ...
0
votes
0
answers
18
views
Scroller should not move to top
I'm facing an issue with a switch. When I'm click the switch, the page is moving to top automatically. But it should not. I'm using kendo.
I've used Scrolltop(0) but it was not helped
1
vote
1
answer
114
views
After Upgrading kendo 2020.1.114 to 2022.1.119 the checkbox for is not working How to fix it
It is my textbox
<div class="row">
<div class="form-group">
<label class="form-label">
<span><b>@...
0
votes
2
answers
109
views
How can I create new lines in a Kendo UI grid with both a ClientTemplate and an EditorTemplateName in MVC?
I'm trying to make a Kendo grid for a list of contacts, with the following requirements:
There should be a toolbar button for creating new contacts
There should be an Actions column, with an Edit and ...
0
votes
1
answer
61
views
kendo grid row and revert css styles
I use kendo grid jquery:
$("#grid").kendoGrid({
detailTemplate: kendo.template($("#detailTemplate").html()),
...
0
votes
0
answers
40
views
Telerik package upgrade to 2021 is not updating jQuery files from folder Scripts/Kendo/2019.x.xxxx
I used to upgrade telerik controls from telerik wizard appears in the telerik menu in visual studio(till vs2019 version). It used to created folder under scripts folder with named kendo/xxxx verison ...
0
votes
1
answer
67
views
Kendo ajax grid is not showing data that it is receiving
I cannot get my grid to render the data it's retrieving. I have the following code in my controller, and verify it gets returned by watching the network tab in the browser:
[HttpPost, HttpGet]
...
0
votes
1
answer
46
views
How to select / display a subset of data in Kendo MVC DropDownList?
I have 3 Kendo DropDownLists in a C# MVC application.
The DropDownLists are responsible for security questions.
All 12 questions are coming in from the datasource (db) and fed to these DropDownLists.
...
0
votes
0
answers
74
views
Customize Kendo grid column filter checkbox message
I am trying to overwrite the message text in a grid column menu filter option. So instead of showing boolean value like "true/false", I want to show "Show X/Show without X". Here ...
0
votes
0
answers
111
views
How to add the custom dropdownlist selected value in the grid
When we try to add a new record in the grid, Instead of textboxes I added dropdown kendo control in one column. The update custom button is not adding the selected dropdown value in the grid.
Also, I ...
0
votes
1
answer
152
views
Kendo Wizard Component Customization
Right now Kendo Wizard only allows to move 1 step up or down. Do we have any way to make it all steps clickable. If I am on step 1 I can click on step 4 to see the content or click anyway to go to any ...
0
votes
0
answers
42
views
How do I bind an uploaded image file to an ASP.NET MVC 5 model using Kendo for jquery?
I've ready everything I can find on this topic, but nothing has solved my issue. I'm completely new to Kendo (and it's version 2018.1.221, which is old), relatively new to ASP.NET MVC 5, and my jQuery ...
0
votes
0
answers
18
views
How do I recreate the custom column filter values (checkboxes)
I am looking for a help where I need to recreate the options for column filter values when the data on left hand side filter changes?
I have a drop down list country on left hand side and when ever ...
1
vote
1
answer
230
views
How to add a combobox to a kendogrid in ASP.NET Core 6 MVC
I am trying to build a license grid that allows the user to select a license type as a combobox using a foreign key constraint
Here is where I try to build the grid in cshtml
@(
Html.Kendo()....
0
votes
0
answers
22
views
Multi filter option in kendo grid column filter
I am trying to extend the Kendo column filter options, which should support a string search filter and a boolean column filter as well. For boolean search, it depends on other property value which we ...
0
votes
1
answer
160
views
Kendo Grid not able to export to excel
In this example I am creating the html and then converting the table to a kendo grid. I also want to be able to export the grid into a excel file. I am using the saveAsExcel method but nothing happens....
0
votes
1
answer
443
views
How to add icon in kendo grid's custom command button?
I want to know how to add icon or fontAwesome class in Test button (Screenshot attached)
Edit and Delete are default buttons provided by kendo controls, It has icons already but I added the Test ...
0
votes
1
answer
80
views
How to dymatically generate data of first column in a table using Kendo Ui
I have table that I am outputting using Kendo UI as below:
My desire outcome is to have the table with an extra column '#" which simply have as data 1,2,3,4, etc.
Below is my attempt to solve ...
0
votes
1
answer
141
views
Use Kendo colorpicker with hex input in the Editor for text color using MVC
I'm using the Kendo editorFor to replace an old editor in my MVC application, and need to use a hex editor for the text/background colors. The three options I found are basic, websafe, and null, and ...
0
votes
1
answer
160
views
How to find Js zip version?
I have keno-ui (2021-2.616) client side libraries included in the ASP.NET Core project. One of the file included is jszip.min.js and I am trying to find what version of JS zip this is.
Usually author ...
0
votes
0
answers
62
views
Hi, I am having a nested kendo grid in multiple pages and there's a reference issue causing when I switch page
I am having a nested kendo grid in my razor page. When I load it initially everything works with respect to expand and collapse. but then when I switch between tabs and open the nested grid for first ...
0
votes
1
answer
86
views
Telerik Kendo DropDownList has the previous value on select event
I have a simple Kendo MVC dropdown and all I want to do is get the correct value, this javascript pulls the previous value and I don't understand why.
@(Html.Kendo().DropDownList()
.Name(&...
0
votes
0
answers
82
views
Unable to cast object of type 'System.Web.Mvc.FileContentResult' to type 'System.String'
I am trying to implement Kendo Captcha. I tried to implement same way as in this article https://docs.telerik.com/aspnet-mvc/html-helpers/editors/captcha/validation.
But I am getting above error. ...
0
votes
1
answer
44
views
Calling functions with get() doesn't work in new Versions of Kendo
So the problem is that we have a kendo version of 2021
that everywhere in our project we used to call functions like this
viewModel.get("someFunction()");
and it worked fine but now that we ...
0
votes
1
answer
116
views
MVC Kendo Spreadsheet local data bidding Create/Update/Delete
I use Kendo Spreadsheet widget with local data binding in MVC. How can I set the datasource to the spreadsheet to do create, update and delete operation?
I know this example,
https://demos.telerik.com/...