Completed
Last Updated: 02 Feb 2021 09:23 by ADMIN
Richard
Created on: 31 Jan 2021 23:00
Category: ContextMenu
Type: Feature Request
0
Allow context menu to be used without a data source

Please allow the context menu to be used without a data source and run using templates only.

That way we can use this control to provide a popup of items that we can control, and don't have to set it up with sometime of blank list of items that are never used.

1 comment
ADMIN
Nadezhda Tacheva
Posted on: 02 Feb 2021 09:23

Hi Richard,

Since the component itself, as per its structure, requires a data source to be provided to its Data parameter, this behavior can be achieved by providing an empty list of object as a data source.

To better illustrate how to do that, I've created this knowledge base article for ContextMenu without data source.

Regards,
Nadezhda Tacheva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.