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
Printable View
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
Template Page?
As in ASP.NET? Or VB.NET?
asp.net
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.