Introduction
ASP.NET 2.0 has more improvements, like ASP to ASP.NET 1.x improvements; though the learning curve require is not steep as the one needed to migrate from ASP to ASP.NET 1.x. The newer version is promising to give more productivity, flexibility, performance, scalability, security, administration and much more new features. You can add custom features to meet your own requirements and build your applications more quickly then ever before, with less code and effort. Here we go to see some Of The New Cool Features Available In 2.0.
Features of Page Framework
As an architect you would like to maintain a consistent look across all pages in your application. For example you'll need to include a header and footer in your pages. You have to depend on user controls or include files, to design such common interface Elements.
Though, IT Seems To Be Simple Approach, Some Problems Are The AS Follows.
All Pages Should Contain Reference To Appropriate User Controls.
HTML Tags Can Span, But Could Be Mismatch While Spread Across Files.
Sever Control Tag Cannot Span Multiple Files; You Have to Close It in The Same User Control.
EDITING THE PAGES COULD LEAD TO Confusions and Become Difficult.
ASP.NET 2.0 Addresses All The Above Problems with The master Pages Feature - "a Visual Inheritance".
What is it actually?
A page, allows defining flexible and reusable templates. A page, allows you to avoid creating each new page of your application from the scratch. A master page has .master extension and @Master directive instead of @Page directive.
How to work with it?
Working with master pages involves the following steps:. Add a master page template from Add New Item dialog box Customize it with your requirements Add content pages add reference to your master page.Let us go further deep into that When you add a master.. Page Into Your Application, AS Webform, It Will Have HTML Elements Such AS ,
, and