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

How to make menu item invisible dynamically?

1 Answer 72 Views
Menu
This is a migrated thread and some comments may be shown as answers.
SPE
Top achievements
Rank 1
SPE asked on 06 Sep 2013, 06:59 AM
Hi.
I want to control visibility of a RadMenuItem in my RadContextMenu included in GridView.
But when I right click on same row repeatedly, it doesn't work.
First time I right-clicked a row, property getter binded with the visibility was called.
But next time I right-clicked the row again, the property getter wasn't called.

Is there any solution?
Thank you.

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 10 Sep 2013, 03:02 PM
Hello sunmin,

May I ask you to share some more details how do you apply binding on the Visibility property? Could you try using Two-way binding? Does your ViewModel implement INotifyPropertyChanged interface? A simple project or code snippet, demonstrating your approach will be very useful for us.

I'm looking forward to hearing from you.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Menu
Asked by
SPE
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or