How to make menu item invisible dynamically?

2 posts, 0 answers
  1. SPE
    SPE avatar
    34 posts
    Member since:
    Sep 2010

    Posted 06 Sep 2013 Link to this post

    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.
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 10 Sep 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top