I want to be able ro associate a dynamically created ContextMenu with ListBox in C#. How can I do that?
1 Answer, 1 is accepted
0
Victor
Telerik team
answered on 15 Mar 2012, 09:51 AM
Hi Pat,
You can associate a RadContextMenu to an element programmatically just like you do in xaml. RadContextMenu has a ContextMenu attached property that can be read and written with the RadContextMenu.GetContextMenu() and RadContextMenu.SetContextMenu() static methods.
Please write again if you have other questions.
Kind regards,
Victor
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>