Passing a dynamic object to a template column builder throws an exception:
c.Template(m => { })
.ClientTemplate("<input type='checkbox' value='#= Id #' />")
.Visible(ViewBag.Can.Edit);
Using an explicit cast doesn't throw the error:
c.Template(m => { })
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>
Hi,
I notice that some of the styling has changed for the Blue Opal theme in the latest release (2019 R1), notably the background colour of the selected page on the grid and the already selected items on a Drop Down List have gone from dark blue to a bright blue (see attached screenshots from demos.telerik.com).
Is this by design or by mistake?
Particularly on the drop down list, this change makes it more difficult to identify the already selected items.
Can this go back to what it used to be - or is there a way of manually changing this setting via the site.css?
Thanks
Kevin
This is in reference to the following forum post:
https://www.telerik.com/forums/helper-for-textbox#lpm4Co4Zy0-PHGzJD_E2mA
For consistency in the MVC product, it would be a good idea to expose built-in events such as the "change" event for the generic Html.Kendo().TextBox helper. This is provided for other controls like the DateTimePicker and even NumericTextBox (https://demos.telerik.com/aspnet-mvc/numerictextbox/events) but not for TextBox.
As mentioned in my post, this is not an insurmountable problem. I can do what I need by diving "down" into jQuery, but it would be nice to be consistent.
We have a web page critical to the web application. In the absence of a suitable MVC widget we had to use a ASP.Net WebForm ListView control along with ASP.Net Ajax (Accordion for expand/collapse functionality) and JQuery (for client side validation). The web page accomplishes the following key functional requirements – a. Ability to group products – 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 provides a text box inline 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. With Telerik MVC Grid widget, in the absence of inline editing, having to click on Edit/Update/Cancel buttons 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 closest MVC widget we could use from the Telerik collection was the grid widget with grouping. However, it falls short on points b and c above. There is probably some workaround available but then we would lose the LOW CODE advantage.
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
The datasource for ComboBox object does not support lambda expressions like ListView (and many other objects). These 'hardcoded' strings are error prone and is causing headaches when altering modelschema's. DataSource(ds => { ds.Custom() .Sort(sort => sort.Add("PropertyName").Descending()) .Transport(tr => tr.Read(read => read.Action("Action", "Controller"})) ); })
Please take a look at this issue where DDLs and CoboBoxes won't submit their values the second time after validation fails and the required field is entered. This was reported back in 2015 and is still unresolved. https://www.telerik.com/forums/kendo-validation-does-not-work-the-second-time
In Kendo editor Add lines of text with and leave gaps in between lines Try to copy text by selecting all text All empty line breaks are erasing itself and left only texted lines but not empty lines This behaviour found only in 2017 release You can find this behaviour even in kendo edito demos
Cancellation token is widely supported in entity framework. And it has big benefits for long running queries to allow cancel them. ToDataSourceResultAsync methods should support passing cancellation token as a parameter.
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
Allow Custom Templates to be added to the MVC Gantt Chart Widget.
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
Currently <EditorName>For is not available for the DateInput wrapper. This feature is available for the other editors.
[Applied through to MVC] For entering data in the grid it will be great to have the grid be able to maintain the cell position when updates are triggered through the grid. So that after the update, for all cases (batch, autosync, scrollable, etc), the position in the grid is maintained and navigatable through common keyboard actions such as: tabbing to the next, shift+tab to the previous, etc. The main goal being for users to have an easy and smooth time navigating the grid and making edits without having their default position wiped and view jerked to another position in the grid after a save/databind/sync is made. A high value case for this is when both autosync and scrollable are turned on; though it will certainly bring value to users and their user experience for a great many usage cases. It is a disappointing surprise for a 3rd party tool to not have this functionality.
I want tree view all of it to be listed without mouse or click ,and to be as list of items that tree view list them what im saying i have list ,i pass it to tree view,tree view display all with all its sub trees without click or mouse over
Currently telerik MVC grid with DateTime column render datetime in local time zone. Nothing but if browser is accessing the site from CST time zone, grid automatically converting EST time to CST and shows value in CST. We have seen workaround as saving and showing data in UTC format. However this is not acceptable for some business scenarios. It’s better to have option to enforce grid to render date time as is input data. So that it will show consistent date time irrespective of local time zone.
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
need button for downloading files from file browser in telerik ui for mvc/kendo mvc thanks