Just like RadRibbonBar - Telerik ASP.NET AJAX RibbonBar, populating it from xml. We need similar control for MVC. If similar solution exists can you provide me with some examples. Thank you
Make it possible to use custom names for the unit test and OpenAccess projects while creating a new Kendo UI for MVC project.
Please add a CheckBoxList control for Kendo/MVC. I see that DevExpress has one but I've been with Telerik for years. https://demos.devexpress.com/MVCxDataEditorsDemos/Editors/CheckBoxList
When you export a sheet to Excel the Sheet is export as not-protected. If there are cells that are locked then the user can edit them. It would be really useful if you could specify tha a sheet were protected and when the sheet is exported it would be protected with a password.
Hi there,
We've just hit a strange issue. We have a DropDownList called "Title" that displays "Mr", "Mrs", "Ms" etc. However, we sometimes noticed that the Title submitted to the form was "LoanBorrower". This was strange as the only place "LoanBorrower" existed was in the MVC back end of the page with "ViewBag.Title = "LoanBorrower".
It appears that if the ViewBag has an entry with the same name as a Kendo form element, the elements default value is being set as the value in the ViewBag.
I have tried this with ViewBag entries other than Title, and the result is the same.
At the top of my "Borrower.cshtml" page I have the following:
@{
ViewBag.Title = "LoanBorrower";
}
I stripped the DropDownList down to the bare minimum and still had the problem:
@Html.Kendo().DropDownListFor(m => m.Title)
The control rendered as the following. Note the value is set to "LoanBorrower" which is the value in ViewBag.Title:
<input data-val="true" data-val-length="Title must be between 1 and 20 characters" data-val-length-max="20" data-val-length-min="1" data-val-required="Select a title." id="Title" name="Title" type="text" value="LoanBorrower" />
<script>
kendo.syncReady(function(){jQuery("#Title").kendoDropDownList({});});
</script>
I then changed the Kendo control to a Kendo TextBox and had the same problem:
@Html.Kendo().TextBoxFor(m => m.Title)
The control rendered as the following. Again, the value is set to "LoanBorrower":
<input data-val="true" data-val-length="Title must be between 1 and 20 characters" data-val-length-max="20" data-val-length-min="1" data-val-required="Select a title." id="Title" name="Title" value="LoanBorrower" />
<script>
kendo.syncReady(function(){jQuery("#Title").kendoTextBox({});});
</script>
I then changed the control to a standard HTML Textbox and no longer had the issue.
@Html.TextBoxFor(m => m.Title)
The control rendered as the following. Note that this time, the value is an empty string which is correct.
<input data-val="true" data-val-length="Title must be between 1 and 20 characters" data-val-length-max="20" data-val-length-min="1" data-val-required="Select a title." id="Title" name="Title" type="text" value="" />
c.Bound( o => o.Complex.Property ) This throws a js exception when o.Complex is null. The grid fails to render when certain data is bound. c.Bound( o => o.Complex == null ? null : o.Complex.Property ) This throws a .NET InvalidOperationException : "Bound columns require a field or property access expression"
Kendo UI MVC server-side wrappers are much more easier to work with but not possible to do a full SPA application and UI experience is slow. Can you come with an idea to allow development using server-side wrappers but then deploy application as client-side SPA converting server-side wrappers to client-side SPA code?
We all know that the default JavascriptSerializer built into ASP.NET leaves much to be desired, which is why developers are swapping out the built in one from ASP.NET for others such as JSON.NET and ServiceStack. The issue that a lot of developers encounter when working with the MVC Wrappers is that it appears to be using the build in JavascriptSerializer, which is miserably slow and hard to work with when trying to take data from an ORM (with navigation properties) and display it on the Grid. Most of our grids closely represent a table in our database, but because the JavascriptSerializer doesn't support any type of navigation properties, we are always forced to write some DTO that flattens the object out to contain just simple datatype properties. If we could REPLACE the JavascriptSerializer with our own framework - such as JSON.NET or ServiceStack, then we would be able to get our job done a lot faster without the extra plumbing. This feature would mean that this "known issue" could be resolved by people simply swapping the JavascriptSerializer for a better one: http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/grid/troubleshooting#a-circular-reference-was-detected-while-serializing-an-object-of-type
Expanding (or at least re-requesting) the improvement requested here http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/2245003-provide-visual-studio-intellisense-support-all-aro as I dont believe "all around" was delivered at Q2 2012. The many attributes and control tags that kendo supplies is not in intellisense in the HTML pages as you write them, angular does it so I'm fairly certain it's doable for Kendo too...
Currently on WidgetBuilderBase there is an HtmlAttributes method that clears any current HTML attributes before adding the new ones. It would be good if there was a separate method called maybe AddAttributes (or something similar) that would allow the addition of HTML attributes without clearing any existing ones.
A lot of our applications contain a number of prompts for activating certain processes. These include DropDownLists, DatePickers, etc. Most of these controls have <widget>For wrappers for binding to a model's properties for sending back to an Controller/Action. Some of the KendoUI widgets do not have this functionality so we are currently unable to easily submit data back for all of our controls in one model class. We would like to be able to do this for ListView and Grid. ListView to return a IEnumerable<class> for all of the selected rows. And the same for Grid. GridFor to return a IEnumerable<class> for all of the selected rows. We need some way to bind all of our widgets inside a form to a single model that has numerous properties so we can get/post to a Controller/Action and have all of that data available very easily witihn one class...and implemented in a consistent manner for all widgets. ListView and Grid are just 2 that we need right now, but would certainly like for all MVC Widget wrappers to always have <widget>For extensions as a standard practice. We believe this will make the KendoUI product stand-out among all of the available options and be the easiest to work with. We want to make our developers highly productive and this will go a long way towards that end.
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>
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.
Since previous step errors out and doesn't complete an attempt was made to use the Telerik Upgrade Wizard.
This produced the following error:
An error occurred while running the wizard.
Error executing custom action Telerik.VSX.Actions.ShowConversionLogAction: 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.TextTemplating3e7341780e3e4a17bdabe17b447cd796.GeneratedTextTransformation' to type 'Microsoft.VisualStudio.TextTemplating.TextTransformation'.
at Microsoft.VisualStudio.TextTemplating.TransformationRunner.CreateTextTransformation(String fullClassName, ITextTemplatingEngineHost host, Assembly assembly, ITextTemplatingSession userSession)
Implement the ability to define custom commands in the grid command in ajax binding.
The MVC Grid uses the MVC EditorTemplates and currently does not support setting a JavaScript function name for the column's "editor" property. Please consider adding the ability to set the javascript name for the column's editor. http://www.kendoui.com/forums/kendo-ui-complete-for-asp-net-mvc/grid/binding-to-custom-editor-for-a-grid-column-i-e-drop-down-list.aspx
Hi Team,
I would like to request to have a section in your documentation where the user could see what the DataSourceRequest and DataSourceResult would appear using different types of data such as OData, Json, and the like. This way, people could inspect what the data would look like to make sure it is returning correctly, and review the structure of data.
Thank you!
Currently, when an event that is grouped by multiple resources is dragged, it automatically updates the selected resource data with the one that corresponds to the drop target.
The more appropriate behavior would be to be to automatically preposition the event for the rest of the selected resources.
Include an x.js as well as x.min.js files in the upgrades. MVC's bundle config by default does not include the .min file in debug mode.
When using the LoadContentFrom() in a tab inside a Tabstrip, the tab content does not get loaded until it become visible. Please consider making the Kendo Window behave like the TabStrip when a window use the LoadContentFrom() method, loading the content only when it become visible.