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

Using ContextMenu with TreeView

8 Answers 73 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 14 Feb 2011, 11:13 PM
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

8 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Stanoev
Telerik team
answered on 17 Feb 2011, 03:36 PM
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
0
Ben Hayat
Top achievements
Rank 2
answered on 17 Feb 2011, 03:43 PM
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.
0
Kiril Stanoev
Telerik team
answered on 17 Feb 2011, 03:57 PM
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
0
Ben Hayat
Top achievements
Rank 2
answered on 17 Feb 2011, 04:12 PM
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
0
Accepted
Kiril Stanoev
Telerik team
answered on 22 Feb 2011, 05:33 PM
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!
0
Ben Hayat
Top achievements
Rank 2
answered on 22 Feb 2011, 05:38 PM
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
0
Petar Mladenov
Telerik team
answered on 25 Feb 2011, 03:09 PM
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!
0
Ben Hayat
Top achievements
Rank 2
answered on 25 Feb 2011, 03:44 PM
Thanks Petar;
I'll send you a nice Blue Ford GT500 for your Birthday! :-)
..Ben
Tags
TreeView
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
Ben Hayat
Top achievements
Rank 2
Petar Mladenov
Telerik team
Share this question
or