How to close overflow menu on button click...

3 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 13 Aug 2010 Link to this post

    Hello,
     
    Let's say I have a RadToolBar defined like this:
    <RadNav:RadToolBar>
              
        <Button Content="aaaa" Click="btnClick" Tag="aaaa" />
        <Button Content="bbbb" Click="btnClick" Tag="bbbb" />
        <Button Content="cccc" Click="btnClick" Tag="cccc" RadNav:RadToolBar.OverflowMode="Always" />
          
    </RadNav:RadToolBar>

    When a user clicks any one of the buttons in the toolbar I attempt to open a Popup in the method "btnClick".  Unfortunately, when they click Button "cccc" I would also like to make sure overflow panel of the RadToolBar closes first.  Is this possible?

    Thanks in advance,
    Rob


  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 17 Aug 2010 Link to this post

    Hello Rob,

    Could you please examine the attached sample project and tell me if it works for you?

    On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverlight applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

    Regards,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 17 Aug 2010 Link to this post

    Ha.  How did I not notice the "IsOverflowOpen" property before?  :)  It must have been a Friday afternoon...

    Thanks for your help,
    Rob

    And thanks, I saw a demo of the minifier in a webex session Telerik did a few weeks ago.  I think we'll make some use of it when we deploy our application live.
Back to Top