Telerik Forums
UI for ASP.NET MVC Forum
2 answers
282 views

Good day,

How do I validate the content of a file on the upload event?  I want to read the contents of an excel file and get a distinct list from one of the columns.  Thank you.

Regards,

Jerome

Jerome
Top achievements
Rank 1
Iron
 answered on 12 Dec 2022
1 answer
490 views

Hello,

In Page load, I need to populate date field from database. I am trying to do using ASP.NET MVC Kendo().textbox(). Please share some sample code or advice.

Thanks in advance.

Thanks,

 

Anton Mironov
Telerik team
 answered on 08 Dec 2022
0 answers
284 views

Hi,

I would like to know if it is possible to Bind a Grid to a property of an object which is a list of primitive type (i.e. a List<string>).

My ViewModel is something like that:

public class ExampleViewModel
{
   public SomeType { get; set; }
   public SomeOtherType { get; set; }
   public List<string> SomeValues { get; set; }
}

And I imagined I could build the grid like that:

Html.Kendo().Grid<string>(Model.SomeValues)
   .Name("SomeValuesGrid")
   .Columns(columns => columns.Bound(x => x))

As you understand, it would be a very simple grid consisting of only one column, with each row displaying one of the string values.
Is it possible, or can grid only work with objects and not with primitive types?

If I do that, it is to keep the Kendo's grid visual style, instead of manually writing and styling a table.

Thanks for your help.

Thibault
Top achievements
Rank 1
 asked on 08 Dec 2022
1 answer
285 views
Is there a way to control the way selected list view items are rendered? Can it be selected with a radio button instead of being highlighted?
Ivan Danchev
Telerik team
 answered on 06 Dec 2022
1 answer
125 views
Hi! I want to disable aria-pressed when I click on the button in buttons group.
How do it?

Anton Mironov
Telerik team
 answered on 06 Dec 2022
1 answer
183 views

Hi! I want to disable aria-pressed when I click on the button in buttons group.

How do it?

Anton Mironov
Telerik team
 answered on 06 Dec 2022
1 answer
105 views

Hello Everyone,

I want to display on a gridview data from a table A with cardinality 1-N with several tables (B,C,D, E ..) . I want to display all table data (A,B,C,D, E ..) with a condition : to have exactly one line for each data from table A. the data from tables B, C, D … I want to display them as many columns, and iterate as long as I have data.

How can I achieve this? I thought of Pivotgrid but that does not answer exactly what I ask?

Please fined in attach what’s the grid should look like.

PS: i need also to export the Grid in an Excel file .

Thank you  .

Anton Mironov
Telerik team
 answered on 05 Dec 2022
1 answer
366 views

Hello,

I am trying to create new Telerik C# ASP.NET MVC Application using VSD version 2019.  After project created, Under Reference folder system loaded Kendo.Mvc & System.Web.Mvc DLLs are added.  System.Web.Mvc version 5.2.9.0. Kendo.Mvc version 5.2.7.0.

when I used  @(Html.Kendo() - gives an below error

Warning CS1702 Assuming assembly reference 'System.Web.Mvc, Version=5.2.7.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35' used by 'Kendo.Mvc' 
matches identity 'System.Web.Mvc, Version=5.2.9.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of 'System.Web.Mvc',
 you may need to supply runtime policy 3_Views_Home_Index.cshtml

Could you please help, how to get Kendo.Mvc using System.Web.Mvc version 5.2.9.0

Thanks in advance for help.

Raja

 

 

 

 

Eyup
Telerik team
 answered on 02 Dec 2022
0 answers
223 views

Hi,

is it possible to have the grid save on leaving a row, and omit most of the buttons like 'Save' or 'Edit'?

We'd like the grid to do as much as possible automatically without the user having to trigger each function/event manually...

AutoSync(true) doesn't work for us, because it collides with our required fields, and always fires validation errors with each change of a cell value.

We tried this solution, but it doesn't cover all the bases: https://www.telerik.com/forums/auto-save-row-when-moving-to-the-next-row 
F
or example a record is not automatically saved, if it is the only one in the grid, because the solution requires to click another row.
Also the Delete-Event is not fired until another row was clicked.

I'd wish this was a standard feature for the Telerik Grid, because I have seen other vendors where their grid works like this by default, no scripts or whatever required.

 

 

Stefan
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 25 Nov 2022
4 answers
16.3K+ views

Hi,

Am getting 'Kendo is not defined' error while using date picker MVC UI control.

Uncaught ReferenceError: kendo is not defined

 

Anubhav
Top achievements
Rank 1
Iron
 updated answer on 24 Nov 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?