DWT or master page or Web User Control

Last post 07-03-2009 9:37 AM by vivek_iit. 1 replies.

Sort Posts:

  • DWT or master page or Web User Control

    07-03-2009, 3:03 AM
    • Member
      40 point Member
    • phddas
    • Member since 05-16-2009, 10:44 PM
    • Posts 209

    Hi

    I am using VS2008 and trying to get my head around all the info/tech out there. I need to construct a banner to my site which will be the same for all the pages, on the top section along with the navigation menu.

    I used EW2 and was able to create a Dynamic Web Template, but I saw a vedio on how to use master pages, and another one on how to use Web User Control, all will do the same thing "I think".

    when do I use one over the other?


    thanks


  • Re: DWT or master page or Web User Control

    07-03-2009, 9:37 AM
    Answer
    • All-Star
      17,710 point All-Star
    • vivek_iit
    • Member since 06-18-2006, 2:13 PM
    • New Delhi
    • Posts 3,171
    • TrustedFriends-MVPs

    I suggest that you use MasterPages and UserControls to create a basic standard layout of your application. That is a very flexible way of managing your application layouts. You can create user controls for header, footer, side bar etc, and place them on your master page along with a content place holder control where your content pages can fit in. For more information on master pages, do search google, there are a lot of videos and sample applications on this.

    HTH,

    Vivek

Page 1 of 1 (2 items)