Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

MasterPages in Visual Studio

  • 09-03-2011 12:44pm
    #1
    Registered Users, Registered Users 2 Posts: 686 ✭✭✭


    Hi all,

    Have used master pages in Visual Studio 2005 to allow use of menu system at top of page. All this works well but how was something like this achieved in Visual Studio 2003 before Materpages were added.

    I need to update some old projects that we do not wish to upgrade to 2005 and I need some other way of achieving the same result of master pages.

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 515 ✭✭✭NeverSayDie


    Keep in mind this isn't directly to do with the version of Visual Studio you're using, it's affected by which version of ASP.NET you're using - master pages (and a lot of other improvements) were added in ASP.NET 2.0. You would need one of the newer versions of VS to work with that though - 2003 doesn't support it. Any one of VS 2005/2008/2010 will though.

    Folks sometimes use user controls to enclose standard menus and other content. Or if it's purely static content, you could use an include directive in the markup to pull in a HTML file with your snippet of content. Google will turn up lots of info on both those topics.


  • Registered Users, Registered Users 2 Posts: 686 ✭✭✭foxirl


    Thanks NeverSayDie


  • Moderators, Science, Health & Environment Moderators Posts: 9,053 Mod ✭✭✭✭mewso


    The interesting story about master pages is that it was a guy called Paul Wilson who originally developed the idea for asp.net 1.1 (VS2003). Microsoft nicked it for their next version of .net. You should be able to find Paul Wilson's version out there somewhere if you really want to implement something like that for older apps.


Advertisement