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

RadMenu Web Control Master Page Placeholder

3 Answers 104 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Shawn Garton
Top achievements
Rank 1
Shawn Garton asked on 12 Aug 2011, 03:30 PM
I have a RadMenu in a VB web control that I want to be able to click on a menu item and have it load and unload other controls in a placeholder on the Master Page.

I have instered the RadMenu on the master page.  In the VB code for the button click event I can not get it to find the placeholder on the master page in order to load different content into it.

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 16 Aug 2011, 01:45 PM
Hello Shawn,

Please take a look at the following articles that fully explain how you can reference the ContentPlaceHolder form a Master Page: 
Best wishes,
Kate
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
Shawn Garton
Top achievements
Rank 1
answered on 16 Aug 2011, 07:55 PM
I am trying to access a ContentPlaceHolder in the master page from a web control.  Your example of getting info from a masterpage from a content page does not work on a web control.  It does not allow access to the master. object.
0
Kate
Telerik team
answered on 22 Aug 2011, 12:28 PM
Hi Shawn,

Please take a look at this forum post where it is fully explained how you can get reference to a master page form a user control. Please notice that you need to use a different approach if you place the user control in the master page.

Regards,
Kate
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Menu
Asked by
Shawn Garton
Top achievements
Rank 1
Answers by
Kate
Telerik team
Shawn Garton
Top achievements
Rank 1
Share this question
or