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

[Solved] Advice on best way to re-use a RadMenu across pages?

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 29 May 2009, 04:45 PM
I'm building some complex forms that use custom data access code so I'm trying to keep other parts of my plumbing and inheritance as generic and simple as possible. I also want to use a common header on a number of pages, and I want that header to include a RadMenu with common items.

I was scared away from using Master Pages when I saw the example at http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/masterpage/defaultcs.aspx. I won't have time to troubleshoot something like that if and when I break it down the road. So I've been looking at creating a header as a user control. I'm not sure how a RadMenu will function in a user control. Ultimately, for this project I would rather copy-and-paste a header that I'm sure will work rather than create something reusable that adds complexity.

For the first time in years I'm missing my old ASP "include" statement!

Any suggestions on the best way to re-use a RadMenu accross pages?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 01 Jun 2009, 07:38 AM
Hello Scott,

We would recommend to either use master pages or user controls. Server side includes are still supported in ASP.NET but are a remnant from classic ASP and are not generally recommended.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Scott
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or