If I have a field defined as @Html.Kendo().TextBoxFor(m => m.Customer.CustomerNumber) then my complex property in my model will be correctly used. If however if add a name value i.e. @Html.Kendo().TextBoxFor(m => m.Customer.CustomerNumber).Name("CustNum") so that I can reference this field in javascript then this name takes precendence as the property name and as such the property in my model is not used. If we are using the 'For' version of an input field where we have already identified the property can this take precedence over using the Name field. That way we can simple names for use in the Javascript and yet still use complex properties.
It could be convenient to have the editor templates directly added to the solution (in Views\Shared) when deploying the ASP.Net MVC nuget package.
When returning data for a grid using the "Model.ToDataSourceResult(request, ModelState)" syntax, if there are any ModelState errors, the grid fails to load any of the data. In addition to validation errors, I would like to be able to send back feedback messages that can be extracted client-side that would not affect the binding of the grid.
in the option from Grid this feature is missing
In cases where the number of tabs in TabStrip Control is big and they don't fit the container size I believe a feature where the exceeding tabs should appear in OverflowPopUp, like the way it happens on the ToolBar Widget is going to be highly acceptable. Currently there exists only one workaround in cases like this, which is, make the TabStrip scrollable. I believe this option is totally outdated
support odata v4
With the current version available from the DLL it will be possible to simplify bundling and include of CSS and JS files. I currently do something along the lines of //BundleConfig.cs var version = typeof(Kendo.Mvc.UrlGenerator).Assembly.GetName().Version; var kendoVersion = string.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build); bundles.Add(new StyleBundle("~/Content/kendo/"+kendoVersion+"/css").Include( "~/Content/kendo/"+kendoVersion+"/kendo.common.min.css", "~/Content/kendo/"+kendoVersion+"/kendo.default.min.css" )); bundles.Add(new ScriptBundle("~/Scripts/kendo/" + kendoVersion +"/scripts").Include( "~/Scripts/kendo/" + kendoVersion + "/kendo.all.min.js", "~/Scripts/kendo/" + kendoVersion + "/kendo.aspnetmvc.min.js", "~/Scripts/kendo/" + kendoVersion + "/cultures/kendo.culture.en-GB.min.js" )); And similarly in the views. Getting the version directly from the DLL without hacking around in Assembly.GetName.Version and string manipulation will make this clearer. I'd also suggest you update the documentation to reflect this pattern. As its a new method/getter, it is not a breaking change.
As a suggestion for future development, make Kendo compatible with RazorGenerator.Mvc per this link: http://blog.mirajavora.com/re-use-mvc-views-across-projects-with-razor-generator
Currently, binding to typed datasets is only supported after dataset is cast to its untyped version (typedDataset as DataSet). This dictates using strings for columns declaration of Grid instead of lambdas: .Columns(columns => {columns.Bound("Name");}) and not .Columns(columns => {columns.Bound(x => x.Name);}) It might be very useful if Grid will support binding to typed datasets directly.
I try to use Export to excel feature i.e. recently added but it not export data for Hierarchical Grid data as Expanded all rows.
In order to use a kendo combobox in an editable kendo grid, you have to bind it to an object with two properties (1 for the value and 1 for the text) - unless you happen to be in the fairly unusual scenario where the value and text are the same. However, in a standard form, you can only bind a kendo combobox to a primitive type for the value. There is no way to bind to an object, which is required in the context of a kendo grid. So what is required in the grid, is not supported in a standard form. I don't understand the complexities of why that is, but this inconsistency does not make for a good developer experience. It results in either creating different EditorTemplates for the two cases, or binding to the generic "object" - which introduces other challenges / issues. Also - it means there is no good way to post the text back to the server when the kendo combobox is used in a standard form. See here for more details: https://www.telerik.com/account/support-tickets/view-ticket?threadid=609934
Just getting started with Kendo Grid - below is my VB.NET razor code (I know, I know) working against a System.Data.DataTable for a model. The DataTable contains columns in it where some of the ColumnNames have spaces. The web page successfully renders my table, but, it errors due to the Kendo's row template, it seems. Dim mainGrid = Html.Kendo().Grid(Model.MainTable) _ .Name("Grid") _ .Columns(Sub(cols) cols.AutoGenerate(True) End Sub) _ .DataSource(Sub(dSource) dSource.Ajax() End Sub) _ .Pageable() _ .Sortable() _ .Filterable()
When deleting or editing a series on the Scheduler, there is no option to edit/delete "all subsequent events". Quite often, when editing a series, users will want to adjust the selected event and all subsequent events when editing a series. iCal, Google Calendar, Outlook all support the option of editing a series in that manner. I would like the Kendo Scheduler Occurrence popup that contains the "this event only" and "entire series" options to also have options that include "all events in the series before the selected one" "all events in the series after the selected one" like other calendar implementations. Thanks
The existing solution was built in 2009 using .Net 3.5 web forms framework (List View), ASP.Net Ajax (Accordion) and JQuery (validation). The web page accomplishes the following key functional requirements – a. Ability to group products – The groups are dynamically extracted from the same datasource that is providing the product list. Using ASP.Net Ajax we were able to provide the expand / collapse visual effect. b. Ability to enter order quantities very quickly - a lot of stores place orders at the last minute (5-10 minutes before order deadline) for valid reasons. The web page readily provides a text box for quick entry. On a desktop, the user can traverse the rows within the group using the tab key. The web page typically contains 150 – 200 products for entry. Having to click on Edit/Update/Cancel dramatically increases the number of clicks / touch / swipe. Besides, it creates a real estate issue on smaller form factors. c. Real time validation – using JQuery we were able to validate the row as and when the quantity was entered. Any error would show below the row in question. The error would continue to show until the quantity was revised. The error however, will not stop the user from entering quantities on other rows. This approach lets the user review any errors in the end.
The Multiselect control hardcodes the style of the Placeholder to Arial, 13px. Please make this either have HtmlAttributes or put a style on it, that can be overwritten.
Ability to write c# code or use model property value instead of just bool value to hide or show a cell(.hidden())
I need configure in my Razor View, with my Multiselect helper, the maxselectedItems property (like others properties: MinLength, Filter,etc)
have an option on the grids where it does not defualt to the date/local time. Users are asking for the same time to display across time zones. I use the workaround but we still have issues with it.
Please add support for the following: 1. Out of the box support for ComboBox grid column which supports nullable values. Currently you have to set a default value for a column which utilizes an editor template using a combobox, otherwise changes to that combox are not captured. The example provided here,https://www.telerik.com/support/code-library/binding-nullable-field-to-dropdownlist-editor-in-grid, works, however, once a change is made the combobox text is set to the value which renders the control ambiguous to the end user. 2.Similarly, there is an issue that occurs when using Server Filtering for comboboxes where the Id is returned but then the combo box text is set to the ID. I really appreciate the Grid and Combobox features and use them in all of my projects, but these two issues have cost me hours and countless headaches trying to come up with workarounds for things that should work out of the box. Thanks