Here is how the support team explained the priority of what editor template is used in the MVC grid: "Actually the behavior is if the EditorTemplateName method is not used to specify template then the ForeignKey editor template is used. If the EditorTemplateName method is used - the template which is passed is used. If there is no such template, it fallbacks and uses the UIHint attribute or if there is not such the default one is used." I'd think the priory should be: 1.) If EditorTemplateName is specified, use that, 2.) If UIHint in Model class is specified, use that, 3.) Then use default editor template (i.e. ForeignKey.cshtml)
There is No Model Binding feature available for DataTable.ToDataSourceResult() Function, Implementation of this feature makes Kendo UI much interesting.
At present to get the nice kendo checkboxes you need a checkbox followed by a label, you can't do this in asp.net mvc because @Html.CheckBoxFor(x => x.IsEnabled) renders as: <input id="IsEnabled" type="checkbox" value="true" name="IsEnabled"> <input type="hidden" value="false" name="IsEnabled"> The solution is to use the kendo mvc dll, or possibly just make your own, but it would be much easier if the kendo ui code could just ignore the hidden input, or if the two controls could be linked via 'for', 'data-for', 'data-whatever'
Take the look and feel of the UI for IOS gauges, for instance the linear gauge, and duplicate that into a more customizable gauge tool set. Particularly, the ability to gradient linear gauges, remove ticks and round the edges. Similar to a progress bar with a value marker.
Bundling the Kendo js files in an ASP.NET MVC application throws a NullReferenceException error. Reproduced with versions 2024.1.319 and 2024.2.514. The bundling works without exceptions in version 2023.3.1114.
bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
"~/Scripts/kendo/2024.2.514/kendo.web.min.js",
"~/Scripts/kendo/2024.2.514/kendo.aspnetmvc.min.js"
));
Instead of kendo.web.min.js you can use kendo.all.min.js with the same result.
@Scripts.Render("~/bundles/kendo")
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Workaround:
Use bundles.Add(new Bundle("~/bundles/kendo") instead of bundles.Add(new ScriptBundle("~/bundles/kendo")
No exception is thrown when bundling the Kendo script files.
Hi It is possible to create a form layout with navigation toolbar to navigate between records? In windows application you can use textbox and other controls and bind this controls to datasource and use navigation toolbar to navigate between records. Also this form layout can design for master-detail layouts with grid widget or other widgets.
Nowadays, was promissed exporting Gantt to PDF. It is not working. Just prints what you see. It is very limited. Should allow: 1) option like "allPages" to print all Gantt Diagram in any page format. Making a "printscreen" of the visible gantt it is any solution for any project. 2) Export Gantt data to excel.
Of the highest priority, we desperately need file explorer for inserting and uploading images. In the AJAX editor, this appears to be build off the radFileExplorer control which is the other one we REALLY need for MVC which doesn't exist at all.
Create: Html.Kendo().Grid() .ToolBar(commands => commands.Create(Model.EnableCreate)) where EnableCreate is a bool. Next is Edit and Destroy: columns.Command(commands => { commands.Edit(item.EnableEdit); commands.Destroy(item.EnableDestroy); }) where item is the dataitem of the row and EnableEdit and EnableDestroy is bool properties.
Right now a master grid can be configured in code using the GridBuilder, but the detail grid needs to be configured in a template and a whole lot of Javascript. As it is much easier to prevent errors writing (and compiling) server side code using the GridBuilder than using large parts of Javascript. In the good old MVC Extensions there was a method DetailView(detial => detail.ClientTemplate(MethodToCreateDetailGRidUsingGriudBuilder()) I would very much like the same approach in Kendo UI as it provides a more robuste method of building Detail Grids.
I know that I can hiding those sections by using Javascript and CSS but I think it will be more comfortable to having option to Show or Hide them. Thanks
make the Kendo UI Menu switch from horizontal to vertical layout, depending on the browser viewport size.
need a week number functionality in Kendo datepicker
Kendo UI implements all the functional features of Web From's RadDropDownTree control Checkboxes CheckAll and Clear Buttons Filtering Server-side Templates TextMode Validation http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/overview/defaultcs.aspx
It would be nice to have a MultiColumnComboBox as we have it already in WinForms. A MultiColumnComboBox is a special case of combo box control with Grid integrated in its drop-down. The control combines the functionality and features of DropDownList and Grid. https://docs.telerik.com/devtools/winforms/multicolumncombobox/multicolumncombobox
Update Kendo project template so that it is compatible with ASP.NET and Web Tools 2012.2.
Regression in R1 2023.
columns.Bound(p => p.OrderDate).HtmlAttributes(new { title = "Order Date: #=kendo.toString(OrderDate, 'dd-MM-yyyy')# " });
kendo.toString is not executed and as a result the date is not formatted. The exact value of the title attribute, as shown above is rendered as title of the cell.
The logic is executed and the OrderDate value is rendered in the title with the specified format.
Using Visual Studio Enterprise 16.0.0.
Created MVC Project 4.6.1
Run Telerik utility to "Convert to Telerik Web Application" from Project context menu. On a clean project just created from the VS Template.
Error output from from Telerik VSX:
An error occurred while running the wizard.
Error executing custom action Telerik.KendoUI.Mvc.VSX.Actions.UpdateWebConfigAction: Could not instantiate a TextTransformation object from the compiled assembly. The following Exception was thrown:
System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.TextTemplating1fd31dc42b754a598ac1cf6e6d72e8f7.GeneratedTextTransformation' to type 'Microsoft.VisualStudio.TextTemplating.TextTransformation'.
at Microsoft.VisualStudio.TextTemplating.TransformationRunner.CreateTextTransformation(String fullClassName, ITextTemplatingEngineHost host, Assembly assembly, ITextTemplatingSession userSession)
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
https://go.microsoft.com/fwlink/?LinkId=301879
-->
<configuration>
<appSettings>
<add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.6.1"/>
<httpRuntime targetFramework="4.6.1"/>
<authentication mode="Windows"/>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs"
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
</compilers>
</system.codedom>
</configuration>
I need configure in my Razor View, with my Multiselect helper, the maxselectedItems property (like others properties: MinLength, Filter,etc)