How To Find Button from RadToolBarSplitButton

2 posts, 0 answers
  1. Nithin
    Nithin avatar
    8 posts
    Member since:
    Sep 2010

    Posted 02 Nov 2010 Link to this post


    I have a problem to find button from RadToolBarSplitButton.   (in c#)
    pls Help
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Nov 2010 Link to this post

    Hello NithinRaj,

    To access the buttons in the RadToolBarDropDown or RadToolBarSplitButton, use the Buttons collections of these objects as shown below:

    RadToolBarSplitButton splitButton = (RadToolBarSplitButton)RadToolBar2.FindItemByText("splitButtonText"); // I'm having splitbutton with Text 'splitButtonText'
    splitButton.Buttons[1].Visible = false; // Second item in Buttons collection

Back to Top