Telerik Forums
UI for ASP.NET MVC Forum
1 answer
398 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
261 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
16.8K+ 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
2 answers
292 views

I am using kendo grid UI in my MVC application. I want to filter the multiple comma separated input values row wise, for single input value its working fine but for multiple comma separated values its not working. 

Please let me know if it is possible to filter the multiple comma separated values.

Thanks in Advance!

Milena
Telerik team
 answered on 23 Nov 2022
1 answer
141 views

I'm trying to use a menu helper in the drawer's Template and it's not working. Is this even possible?  Do you have any examples of using other controls with the helper? All the examples are pretty simple.

 

Ivan Danchev
Telerik team
 answered on 17 Nov 2022
2 answers
932 views

I want to have a "reset" button that sets all filters to blank and removes all rows from the grid, without calling the server.  I thought it would be able to do this by just saying:

 

grid.dataSource.data(new Array());

But this seems to mess up the paging.  The records are cleared, but when I reload the grid with new data, it keeps the old page number, even if that was greater than the current max pages, leaving the user with a blank grid.

 

Is there a recognized way to clear out a grid? 

    
Roy
Top achievements
Rank 1
Iron
 updated answer on 14 Nov 2022
7 answers
3.2K+ views

Hi,

'm using MVC5 and have a reference to the Kendo.MVC.dll assembly.

I've followed the instructions mentioned in below article.
http://docs.telerik.com/kendo-ui/aspnet-mvc/asp-net-mvc-5

I have just started using telerik control after installation but I am getting below compilation error.

CS1705: Assembly 'Kendo.Mvc, Version=2016.1.112.545, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

 

Thanks,

Shital

Anubhav
Top achievements
Rank 1
Iron
 answered on 13 Nov 2022
0 answers
119 views
I am new to Kendo UI for ASP.NET MVC. How can I learn about all of the options for the HTML helpers?

For example, I see code like this in our codebase:

@(Html.Kendo().ComboBox()
        .Name("combobox")
        .DataTextField("ProductName")
        .DataValueField("ProductID")
        .DataSource(source => {
            source.Read(read =>
            {
                read.Action("Products_Read", "ComboBox").Data("foo");
            });
        })
    )

I'd like to understand the line that says "read.Action("Products_Read", "ComboBox").Data("foo");".

I see there is documentation out there, like:
https://demos.telerik.com/aspnet-mvc/combobox - shows the code
https://docs.telerik.com/aspnet-mvc/html-helpers/editors/combobox/overview
https://docs.telerik.com/aspnet-mvc/api/combobox
https://docs.telerik.com/aspnet-mvc/api/datasource

But even in the API documentation, I'm not seeing anything that explains what "read.Action().Data("foo")" does.

I see documentation that says, for example:
DataValueField "sets the field of the data item that provides the value content of the list items".
and
DataTextField "sets the field of the data item that provides the text content of the list items".

Those are the same definitions except for the word "value" and "text" have changed. How do I find out what that means?

Any tips for coming up to speed on this?
Rick
Top achievements
Rank 1
 asked on 13 Nov 2022
0 answers
113 views

I'm using the Kendo version 2022.3.913.545

The default filter type selected in the dropdown is "DoesNotContain"!

When does it happen? when I add the localization file kendo.messages.**-**.min.js, while it should be "Contains"!

update: it seems Kendo selects the 5th (index 4) element of the filter dropdown as the default filter type! and in our language the order of the elements are as follows:

IsEqualTo,

IsNotEqualTo,

StartsWith,

Contains,

DoesNotContain,

EndsWith,

...

so the DoesNotContain is selected by default!

it is solvable by adding the following line

.Filterable(filter => filter.Operators(op=>op.ForString(t=>t.Clear().IsEqualTo("***").IsNotEqualTo("***").StartsWith("***").EndsWith("***").Contains("***").DoesNotContain("***").IsNotNullOrEmpty("***").IsNullOrEmpty("***"))).Mode(GridFilterMode.Row)))

it clears the filter types from the dropdown and puts item by item as you put in the list! On this occasion, I put the Contains filter type on the fifth position so it works!

but I don't want to use this method and want to use the Kendo localization only!!

 

Mahdi
Top achievements
Rank 1
Iron
 updated question on 12 Nov 2022
1 answer
130 views

Hello

On preliminary testing of this signature form it seems there is an offset to the right on mobile devices even more so when holding the device in landscape, especially when changing the view when the canvas is already loaded.

Tested page is https://demos.telerik.com/aspnet-mvc/signature on android with chrome browser.

Any use-case to use this will be on a mobile device so it should work flawless.

Looking forward to a solution

 

Yanislav
Telerik team
 answered on 11 Nov 2022
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
Upload
ComboBox
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
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
ListView (Mobile)
Pager
Accessibility
ColorPicker
DateRangePicker
Wizard
Security
Styling
Chat
MediaPlayer
TileLayout
DateInput
Drawer
SplitView
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
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
DropDownButton
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
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?