MenuItem command name and data attributes

2 posts, 0 answers
  1. Michael
    Michael avatar
    43 posts
    Member since:
    Mar 2013

    Posted 24 Apr 2013 Link to this post

    Do the menu buttons support something like this?

    <Splitbutton CommandName="myCommand" Data="myData" .....>

  2. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 25 Apr 2013 Link to this post

    Hello MIchael,

    The RibbonbarMenu and RibbonBarSplitButton are only container controls and do not support the CommandName property, as they don't trigger any command when clicked - they only open their dropdown to visualize the available child items. The CommandName and CommandArgument properties are supported by their respective children - RibbonBarMenuItem and RibbonBarButton. A small exception can be made for the SplitButton, which can trigger a command when pressed in the button area. However all this does is execute the command of its first child button.

    You can easily check the available properties of each item in VisualStudio via Intellisense, as shown in the attached image.

    All the best,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top