Expand a RadToolBarDropDown

2 posts, 0 answers
  1. Juan Carlos Juarez
    Juan Carlos Juarez avatar
    7 posts
    Member since:
    Apr 2009

    Posted 12 May 2010 Link to this post

    Hi, I have a page with a Radtoolbar, this toolbar have a RadToolBarDropDown, basically I need to expand the RadToolBarDropDown when the page is visited for first time, but I can't see some property or method on C# or Javascript to allow me to expand the menu. Is it possible?

    Thank you.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 May 2010 Link to this post

    Hello Juan,

    You could get reference to corresponding dropdown client item in RadToolBar and invoke the showDropDown() method to expand the RadToolBarDropDown.

    <script type="text/javascript"
        function pageLoad() { 
            var toolBar = $find("<%= RadToolBar1.ClientID %>"); 
            var item = toolBar.findItemByText("DropDownText"); 

Back to Top