Telerik Forums
UI for ASP.NET MVC Forum
4 answers
1.3K+ views
Hi everyone,

I'm using a Grid to ajax edit a simple model in the inline mode and on the Controller the ModelState.IsValid is always false.
The error message is "The value '/Date(-62135578800000)/' is not valid for Expiration."

I have attach the relevant code of my test application and would appreciate any help.


Thanks,
Alexandre Lefebvre
Marcel Härry
Top achievements
Rank 1
 answered on 01 Nov 2016
1 answer
152 views
How to create multiple sub columns in grid headers where the titles can be read from datasource? The number of parent header and sub columns depends on datasource.
Niko
Telerik team
 answered on 01 Nov 2016
1 answer
338 views

I have a nullable Guid column in my grid that is using an editor template to display a the text value associated with the Guid in the lookup table.

columns.ForeignKey(p => p.NotAcceptableReason, (System.Collections.IEnumerable)ViewBag.NotAcceptableReasons, "NotAcceptableReasonId", "NotAcceptableReasonName").Width(200);

 

The editor template:

@using Kendo.Mvc.UI
@model object
 
@(
 Html.Kendo().DropDownListFor(m => m)
        .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"])
        .OptionLabel("--- Select ---")
        .ValuePrimitive(true)
)

 

On that column's column filter popup,I get all the text values from the lookup table in a drop down list and the filtering work as expected.

However, when I try to filter the column on "Is null" or "Is not null" I get an error -> System.FormatException: Unrecognized Guid format.

I suspect this is because there is no NULL entry in the lookup table I'm binding the drop down list to.  Any suggestions for getting the "Is null" or "Is not null" column filters to work correctly in this scenario?

 

Danail Vasilev
Telerik team
 answered on 01 Nov 2016
1 answer
239 views
I want to make the rich text editor control shorter. I've tried applying a "height" style to the css as well as directly to the control but cannot get it shorter than 175px. Is it possible to shorten it?
Rumen
Telerik team
 answered on 31 Oct 2016
3 answers
131 views

Hello,

I am trying to use the AutoComplete editor with MVC6.  Kendo Version 2016.3.914

I keep getting, Uncaught TypeError: jQuery(...).kendoAutoComplete is not a function when I run the page.

I found this post from last year:  http://www.telerik.com/forums/missing-textboxfor-and-autocomplete#a-GwYBg2-ECJCMqxHipYVQ

Has support for AutoComplete been added yet?

 

Thank you!

 

Rumen
Telerik team
 answered on 31 Oct 2016
3 answers
1.0K+ views

I'm wondering if anyone has tried and would like to share how to dynamically store the telerik html code in a database and render it onto a MVC view dynamically. I have a project I'm currently working on and have been unsuccessful so far.

 

Thanks,

Neil

Vessy
Telerik team
 answered on 31 Oct 2016
1 answer
1.2K+ views

Is there any way to declare the value of a checkbox? Currently the value is always 'true'.

<input name="AppleYN" class="k-checkbox form-control" id="AppleYN" type="checkbox" value="true">

I would like to specify the values for check box lists:

<input name="AppleYN" class="k-checkbox form-control" id="AppleYN" type="checkbox" value="21">

<input name="BananaYN" class="k-checkbox form-control" id="BananaYN" type="checkbox" value="22">

<input name="OrangeYN" class="k-checkbox form-control" id="OrangleYN" type="checkbox" value="23">

Danail Vasilev
Telerik team
 answered on 31 Oct 2016
1 answer
353 views
We are usingc trial version of Telerik UI for ASP.NET MVC R3 2016 With MVC 4

PROJECT DESCRIPTION 
We are using System.Web.Mvc version as 5.2.2.0.And Kendo.MVC.dll of version 2012.3.1114.340.
We are using kendo datepicker but on edge the saved date value is not displaying.If we put type="text" it removes the validations from that field like required filed etc. And also tried to replaced Kendo.MVC.dll of new trial version i.e. 2016.3.914.440 but still it's not working, Do we need to replace an css or js files also,If yes please let me know which are those.
We need to have common fix because we need to do this change at one common place as at many places we are using that.
Please give us the solution.

Thanks,
Ashvini

Viktor Tachev
Telerik team
 answered on 28 Oct 2016
3 answers
342 views

 

We are currently working with the Upload control in what would seem to be a very simple setup.

@(Html.Kendo().Upload()
                            .Name("files")
                            .ShowFileList(false)
                            .Multiple(false)
                            .Async(a => a
                                 .Save("Save", "Patient")
                                 .AutoUpload(true)
                                 .SaveField("files")
                              )
                            .Validation(validation => validation.AllowedExtensions(new string[] { ".gif", ".jpg", ".png" }))
                              )

 

 

and our controller is defined as such

[HttpPost]
public async Task<IActionResult> Save(IEnumberable<HttpPostedFileBase> files)

 

What is happening is that the files parameter is not null but has a count of 0. This is in an ASP.NET core MVC app.

What could the issue be? Is there something simple we are missing here?

Thanks
AJ

 

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 28 Oct 2016
6 answers
798 views
I have an operation in the MVC controller that might run a few seconds before completing for Create and Update actions in the grid.  How do I get a spinning wait cursor to display during this operation and prevent the user from clicking on anything else?
Pavlina
Telerik team
 answered on 28 Oct 2016
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
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
ColorPicker
DateRangePicker
Security
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?