My company has three very large apps that are dependent on Kendo. I've been trying for several days to update the Kendo version in our largest app from version 2022.3.913. I was able to update with no problems to version 2023.1.117. But when I try to go beyond that, it's completely hosed. Worst of all is the use of icons. I can't make them work no matter what I do. We've been using .SpriteCssClass() to attach icons to buttons and menu items as well as using the k-icon k-i-xxx classes in grid item templates. None of that works anymore. None of the suggested fixes for this work with version 2023.2.829 either. I've tried telling the app to use font icons via KendMvc.Setup() in my Startup.cs and BaseController.cs files, neither of which worked. I installed both the FontIcons and SvgIcons NuGet packages, which at least allowed me to build the app. I was able to use the .Icon() method on a Button widget to use one if the SVG icons that I saw in an example, but nowhere on your site can I find a list of standard SVG icons like the list of font icons, so I wasn't able to find the icons I had been using. In addition to the complete inability to make icons work, the way you've changed font sizing for widgets has made the app look very different than before the update and has made various customizations we've made in our site.css file look very bad. Ditto for some random styling changes you've made for menu items and anchor tags in grid templates.
In short, you have really screwed us over and I don't know if we're going to be able to update past 2023.1.117. I see lots of others have had these same issues and I don't see you responding with any real solutions.
Am I missing a configuration option? I have a menu which has several levels of menus. With "Security Trimming" enabled, root level objects get trimmed with no issues. Parents which have their children objects "trimmed", still show up. Example:
@(Html.Kendo().Menu() .Name("Menu") .SecurityTrimming(true) .Items(items => { items.Add().Text("Home").Action("Index", "Home"); items.Add().Text("Owners").Action("Index", "Owners"); items.Add().Text("Interred").Action("Index", "Interred"); items.Add().Text("Maintenance").Items(itm => { itm.Add().Text(@"Sections/Lots/Spaces").Action("Index", "MaintainSpaces"); itm.Add().Text("Search Tags").Action("Index", "MaintainSearchTags"); itm.Add().Text("Undertakers").Action("Index", "MaintainUndertakers"); itm.Add().Text("Reclaim Spaces").Action("Index", "MaintainReclaimSpaces"); itm.Add().Text("Research Tool").Action("Index", "MaintainResearchTool"); itm.Add().Text("Headstones").Action("Index", "MaintainHeadstones"); }); items.Add().Text("Reports").Items(itm => { itm.Add().Text("Available Spaces").Action("Index", "ReportsPage"); }); }) )
As you can see the "Maintenance" and "Reports" menu items are still visible. An example situation would be :
A unauthorized user sees the "Home" button, and everything else should be trimmed. While the actual actions are getting trimmed, the "Maintenance" and "Reports" menu items (with nothing in them) are still there.
Am I missing a configuration option to also remove parents?
Hi
I use a Kendo window and load the content through AJAX from a partial view.
The partial view contains Kendo controls such as DropDownList, ContextMenu, etc.
How can I remove all the controls (destroy all UI, events, etc.) inside the partial view when I close the Kendo window
I have a menu, using v2022.2.802 and I need to reduce the padding on the top level of the menu. The documentation does not include any examples on how to do this.
What styles need to be changed to reduce the padding on the menu? I have reduced the font-size by using:-
.k-menu-link-text { font-size: smaller !important; }
But this still leaves a larger amount of padding on the top level menu.
Thanks
i am getting the error when i use @html.kendo()
it showing are you missing any directives
>please suggest any solution
Hi,
When I add .OpenOnClick(true) to my menu and I click on the menu to display the submenu, the page reloads automatically.
Do I need to add another instruction to prevent the page reloading? What's the problem?
Thank's in advance.
Ignacio
This is kendo ui for asp.net mvc. In the past I have used float:right to move menu items and gridtoolbar items to the right side, but that no longer works. For example:
.ToolBar(toolbar => { toolbar.Search(); toolbar.Custom() .Text("Clear Filters/View All") .Url("#") .HtmlAttributes(new { id = "btnClearFilters", @class="btn btn-link", onclick = "btnClearFiltersClick()" }); toolbar.Custom() .Text("New Order") .Url("#") .IconClass("k-icon k-i-add") .HtmlAttributes(new { id = "btnNew", style = "float:right;", onclick = "btnNewClick()" }); toolbar.Custom() .Text("Copy Order") .Url("#") .IconClass("k-icon k-i-copy") .HtmlAttributes(new { id = "btnCopy", style = "float:right;margin-right:20px;", onclick = "btnCopyClick()", disabled = "disabled" }); })
Hi,
I use the latest Kendo UI MVC with Visual Studio 2019. I would to know if is possible to change the menu orientation with a button click and not with a combobox option ?
Thank you.
Ignacio