Telerik Forums
UI for ASP.NET MVC Forum
2 answers
381 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
595 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
400 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
378 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
175 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
253 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
178 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
512 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
349 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 2
Iron
Iron
Iron
 asked on 25 Nov 2022
4 answers
17.4K+ 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
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
Security
ColorPicker
DateRangePicker
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
DropDownButton
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?