This is a migrated thread and some comments may be shown as answers.

How to close overflow menu on button click...

2 Answers 110 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 13 Aug 2010, 08:44 PM
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 Answers, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 17 Aug 2010, 09:31 AM
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
0
Rob
Top achievements
Rank 1
answered on 17 Aug 2010, 01:21 PM
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.
Tags
ToolBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Rob
Top achievements
Rank 1
Share this question
or