We have to used translated menu text from a resource bundle. For the localization we inject the IHtmlLocalizer in our Razor-Pages.
Following code doesn't work.
<kendo-menu name="customermenu">
<items>
<menu-item text='@localizer_Label["Lable_MyTeam"]'></menu-item>
</items>
</kendo-menu>
How can I localize my menu text?
Many thanks for your efforts,
Christian
Is there anyway to stop the inline editor from closing if there are errors? It currently closes the editor after clicking ok on the alert.
Here is my error event handler:
function errorHandler(e) { if (e.errors) { var message = "There are some errors:\n"; // Create a message containing all errors. $.each(e.errors, function (key, value) { if ('errors' in value) { $.each(value.errors, function () { message += this + "\n"; }); } }); alert(message); }Hello,
How to change the Grid row color to be color 1 in even number rows, and color2 in odd number rows.
Thanks!
Hello,
I'm working with a DropDownTree which I create with the following code:
01.@(Html.Kendo().DropDownTree()02. .Name("selectJobs")03. .DataValueField("id")04. .DataTextField("text")05. .HtmlAttributes(new06. {07. @class = "form-control"08. })09. .Filter(FilterType.Contains)10. .LoadOnDemand(false).MinLength(2)11. .BindTo((IEnumerable<DropDownTreeItemModel>)ViewBag.inlineDefault)12. .Events(e => e.Change("onJobChanged").DataBound("onJobDataBound"))13. .Template("#= autocompleteFormatValue(data.item.text, 'selectJobsFilter') #")14.)There is a way to change the content data of this tree, through an ajax call and when it completes, the following code is exeuted:
01.function (response) {02. var ds = new kendo.data.HierarchicalDataSource({03. data: response,04. accentFoldingFiltering: "fr-FR"05. });06. var dropdowntree = $('#selectJobs').data('kendoDropDownTree');07. dropdowntree.setDataSource(ds);08. dropdowntree.treeview.expand(".k-item");09.}I believe I am using the 'accentFoldingFiltering' option properly, as per https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/accentfoldingfiltering
Yet, the diacritics filtering is not working. Any idea what is missing ?
For instance I would have the items you can see on my example1.png picture. And so I would expect that if I pressed e, which I do in example2.png, then I would see all the items that match "matie" including "matiè" but as you can see that's not the case.
Thanks!
If I select the text of a disabled combobox with double click and make copy paste the results text has line feed...
why this?
robert

Last week i migrated one of the projects i work on from .NET MVC to .NET Core.
It surprised me that the .NET Core wrappers lack the security trimming feature that the MVC wrappers support. I voted for this feautre request, but that can take ages before it gets implemented (if ever).
So i'm looking for a work around. Is there anybody out there that could give me some advice?
I used the .Action("actionname", "controllername") method of the menu item to get the securitytrimming going.

Hi there
Is there anyway to set the PDF VIewer zoom to 'Fit to Width' instead of 'Automatic Width' on startup?
Thanks
Richard

Is there a way to configure steps server-side, like you can with the grid via LoadSettings?
If not, how do you configure the steps dynamically?
For example if the configuration of the steps comes from a database?