Using ContextMenu with TreeView

9 posts, 2 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 14 Feb 2011 Link to this post

    As of SL4, do we still need to set the plugin Windowless equals to True in order to use ContextMenu?
    And is that requirement for using Context Menu for any UIElement?

    Thanks!
    ..Ben
  2. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 17 Feb 2011 Link to this post

    Hi Ben,

    With Silverlight 4 you don't need to use the Windowless parameter anymore. RadContextMenu opens on MouseRightButtonUp. If you want to change the event on which RadContextMenu opens, you can do that by modifying the EventName property.

    Best wishes,
    Kiril Stanoev
    the Telerik team
  3. DevCraft banner
  4. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 17 Feb 2011 Link to this post

    Hey Kiro, good to see you. Thanks for confirmation.
    I tried it without the Windowless and worked fine and kind of confirmed my thoughts that as of SL 4, this may not be needed but all the docs and blogs still point to having Windowless. And that's why I raised the question.

    Perhaps some of the docs need update.
    Thank you again.
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 17 Feb 2011 Link to this post

    Hi Ben,

    Thanks for pointing out this inconsistency. I've logged this in PITS under the name "Documentation: Modify TreeView's ContextMenu help section so that it no longer uses Windowless" and we'll try to fix it as soon as possible.
    Besides the help page, have you seen other places where we advocate the usage of Windowless? I've also updated your Telerik points accordingly.

    Kind regards,
    Kiril Stanoev
    the Telerik team
  6. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 17 Feb 2011 Link to this post

    Hi Kiro;

    Besides the help page, have you seen other places where we advocate the usage of Windowless?

    Yes, here is also a blog post that says the same. You can see it right above the picture of browser in the blog.
    http://blogs.telerik.com/valerihristov/posts/09-04-27/attaching_a_contextmenu_on_a_treeview_with_radcontrols_for_silverlight.aspx

    In the online help, I saw several reference to it. There was the place of introduction, in the "How to" and somewhere else. And the repetition confused me more.

    Kiro, I had posted another thread that if we could get a sample using WCF RIA services and QueryableDomainServiceCollectionView working with TreeView in Self-referencing mode.
    I just want to see some guideline how to the the "Best Practice" using this new collection with TreeView in Self-referencing mode. Here is the post. It would be greatly appreciated, since the How To's don't cover the WCF Ria services and new collection.
    http://www.telerik.com/community/forums/silverlight/treeview/radtreeview-usin-queryabledomainservicecollectionview.aspx

    The points that I'm trying to put all together to make them work tegether:
    a) Using WCF RIA Services
    b) Using QueryableDomainServiceCollectionView
    c) Using TreeView with above two
    d) Including LoadOnDemand
    e) Using "Prepared Item"
    f) and etc.

    As you can see, there are a lot of things that need to get cordinated.

    Thanks again!
    ..Ben
  7. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 22 Feb 2011 Link to this post

    Hi Ben,

    Thanks for pointing our these inconsistencies. We will fix the help pages and blog posts as soon as possible.

    As for your request for an example "using WCF RIA services and QueryableDomainServiceCollectionViewSelf-referencing mode" working with TreeView in , I've added an item in our PITS under the name "TreeView: Integration example containing self-referencing hierarchy and QueryableDomainServiceCollectionView". This item will be available for tracking and voting tomorrow the latest.
    Since our Q1 2011 release is right around the corner, I don't think that we will be able to prepare such an example before the official release, which is scheduled for the second half of March. However, once we release Q1 2011 we'll start working on the integration example.

    Regards,
    Kiril Stanoev
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  8. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 22 Feb 2011 Link to this post

    Thanks Kiro for submitting my request. BTW, I never got those "Points" that you had mentioned in above post.

    Looking forward to the new beta coming out.
    Thanks!
    ..Ben
  9. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 25 Feb 2011 Link to this post

    Hi Ben Hayat,

    I updated your telerik points accordingly. Please accept our apologies for the delay.

    Regards,
    Petar Mladenov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  10. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 25 Feb 2011 Link to this post

    Thanks Petar;
    I'll send you a nice Blue Ford GT500 for your Birthday! :-)
    ..Ben
Back to Top
DevCraft banner