Results 1 to 4 of 4

Thread: how to create template page

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    77

    how to create template page

    I am a beginner..how to create a template page for my project...which has same type of header and some controls on it...throughout my website...I am mostly interested in inheriting the Page class....can anybody show me...any website or tutorial

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Template Page?

    As in ASP.NET? Or VB.NET?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    77
    asp.net

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Create a single page which contains the basic layout that you want.

    Then use an ASCX web user control to show different content depending upon whatever paremeters you choose.

    Whatever elements of the page are going to be common throughout the site, simply make it a control, and include that control in all your pages.

    I don't think that pages can be inherited as such.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width