Can't use RadSplitButton normally

3 posts, 0 answers
  1. Ivan
    Ivan avatar
    4 posts
    Member since:
    Dec 2017

    Posted 22 Dec 2017 Link to this post

    Hello guys.

    I want to add to my app RadSplitButton, but I can't configure it normally. I was looking to example code from telerik how to use this type of buttons. But when I added it to my project with all settings, buttons behavior was diffrenet from the telerik example. Allways when I am pressing on the button in all the places(Arrow button, Action button) the DropDownMenu is opened (the differance is that in the telerik example DropDownMenu opened only when Arrow button pressed).

    The 1st question is why example has't all the settings? And I think I am not telling about one property that has be forgotten, because selection of the button in example was modified too.

    I tried to find a property that can disable menu popupping, but my attempt was failed.

    I found ugly solution:

    - Set property DropDownButtonElement.DropDownMenu.PopupElement.Visibility = ElementVisibility.Collapsed 

    - Add click method to Click Event for DropDownButtonElement.ActionButton, and add to the start of the method this function: DropDownButtonElement.DropDownMenu.Hide()

    This solution works fine, but I believe that there is another way to disable menu popup on. Have you guys any ideas?




  2. Dimitar
    Dimitar avatar
    2949 posts

    Posted 22 Dec 2017 Link to this post

    Hi Ivan,

    I have tested this and it appears to work on my side. I have attached my test project. 

    I hope this will be useful. 

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Ivan
    Ivan avatar
    4 posts
    Member since:
    Dec 2017

    Posted 22 Dec 2017 in reply to Dimitar Link to this post

     Thx alot, all works great! It was my bad.

    I forgot to add RadSplitButton.DefaultItem = defaultItem

Back to Top