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

How to create context menu dynamically on client side

3 Answers 67 Views
Menu
This is a migrated thread and some comments may be shown as answers.
connor
Top achievements
Rank 1
connor asked on 15 Apr 2011, 02:40 PM
Hi,

I want to create context menus on client side dynamically, does telerik context menu support this?

As I know, we can use
var _menu = $find('<%=Menu.ClientID%>');
to retrieve a context menu, this means we have to add a context menu at design time in html or create one at server side runtime, but how we can create a context menu in client side? 

I need to create context menus on client side, how I can reach this?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Accepted
Helen
Telerik team
answered on 15 Apr 2011, 05:20 PM
Hello Connor,

RadMenu cannot be created client-side, but you can create or delete its items client-side.

How this can be done you can see here.

Greetings,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
connor
Top achievements
Rank 1
answered on 16 Apr 2011, 04:19 AM
Thanks Helen,

Got it, but do you have a schedule to implement it in future?
0
Helen
Telerik team
answered on 18 Apr 2011, 11:42 AM
Hello Connor,

No. RadMenu is server control, so it cannot be created on the client.

Greetings,
Helen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Menu
Asked by
connor
Top achievements
Rank 1
Answers by
Helen
Telerik team
connor
Top achievements
Rank 1
Share this question
or