尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Guided by:
Prof. Kanu Patel
( BVM IT Department )
.NET TECHNOLOGY(2160711)
Prepared by:
Modha Sanjay (150083116005)
Parmar Bhavesh (150083116007)
Parmar Bhavesh (150083116008)
MASTER PAGE
 ASP.NET master pages allow you to create a consistent layout for the
pages in your application.
 A single master page defines the look and feel and standard behaviour that
you want for all of the pages (or a group of pages) in your application.
 You can then create individual content pages that contain the content you
want to display. When users request the content pages, they merge with
the master page to produce output that combines the layout of the master
page with the content from the content page.
HOW MASTER PAGES WORK
 A master page is an ASP.NET file with the extension .master (for example,
MySite.master) with a predefined layout that can include static text, HTML
elements, and server controls.
 The master page is identified by a special @Master directive that replaces
the @Page directive that is used for ordinary .aspx pages.The directive
looks like the following.
<%@ Master Language="C#" %>
ADVANTAGES OF MASTER PAGES
 They allow you to centralize the common functionality of your pages so
that you can make updates in just one place.
 They make it easy to create one set of controls and code and apply the
results to a set of pages. For example, you can use controls on the master
page to create a menu that applies to all pages.
 They give you fine-grained control over the layout of the final page by
allowing you to control how the placeholder controls are rendered.
RUN-TIME BEHAVIOUR OF MASTER PAGES
 Users request a page by typing the URL of the content page.
 When the page is fetched, the @ Page directive is read. If the directive
references a master page, the master page is read as well. If this is the first
time the pages have been requested, both pages are compiled.
 The content of individual Content controls is merged into the
corresponding ContentPlaceholder control in the master page.
 The resulting merged page is rendered to the browser.
MASTER PAGES AT RUNTIME
 The process is illustrated in the following diagram.
 This diagram is simplified ;if the
content page does not have
corresponding Content controls
, the master page might also
have mark-up and controls in
the ContentPlaceHolder controls.
MASTER PAGE AND CONTENT PAGE PATHS
 When a content page is requested, its content is merged with the master
page, and the page runs in the context of the content page.
 The master page and content page do not have to be in the same folder.
 As long as the MasterPageFile attribute in the content
page's @ Page directive resolves to a .master page, ASP.NET can merge
the content and master pages into a single rendered page.
MASTER PAGES ANDTHEMES
 You cannot directly apply an ASP.NET theme to a master page
 If a theme is defined in the content page. Master pages are resolved in the
context of content pages, so the content page's theme is applied to the
master page as well.
If the site as a whole is configured to use a theme by including a theme
definition in the Pages Element (ASP.NET Settings Schema) element.
Master page

More Related Content

What's hot

Master page in asp.net
Master page in asp.netMaster page in asp.net
Chapter 5 (master page)
Chapter 5 (master page)Chapter 5 (master page)
Chapter 5 (master page)
let's go to study
 
Themes
ThemesThemes
Themes
Nihar Dodiya
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
Puneet Duggal
 
SharePoint 2010 Pages
SharePoint 2010 Pages SharePoint 2010 Pages
SharePoint 2010 Pages
Elliot Chen
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
Shrijan Tiwari
 
HYF - Class 01 - HTML And CSS
HYF - Class 01 - HTML And CSSHYF - Class 01 - HTML And CSS
HYF - Class 01 - HTML And CSS
Garima Kaila
 
Activate_Your_AerApplication
Activate_Your_AerApplicationActivate_Your_AerApplication
Activate_Your_AerApplication
mark05
 
Customizing Teamup Calendar - Tips for Calendar Administrators
Customizing Teamup Calendar - Tips for Calendar AdministratorsCustomizing Teamup Calendar - Tips for Calendar Administrators
Customizing Teamup Calendar - Tips for Calendar Administrators
Teamup Calendar
 
Seo Introduction/Seo Basics
Seo Introduction/Seo BasicsSeo Introduction/Seo Basics
Seo Introduction/Seo Basics
Gayathri Sampathkumar
 
Masterpage in asp.net
Masterpage in asp.netMasterpage in asp.net
Masterpage in asp.net
Shajahan T S Shah
 
Intro to Search Engine Optimization
Intro to Search Engine OptimizationIntro to Search Engine Optimization
Intro to Search Engine Optimization
oxenfoord
 
Design Guidelines For Web Sites
Design Guidelines For Web SitesDesign Guidelines For Web Sites
Design Guidelines For Web Sites
Khan Mohammad Mahmud Hasan
 
How the page speed impacts your seo
How the page speed impacts your seoHow the page speed impacts your seo
How the page speed impacts your seo
Samskriti Business Solutions
 
asp.net Webconfiguration
asp.net Webconfigurationasp.net Webconfiguration
asp.net Webconfiguration
Ma Kik
 

What's hot (15)

Master page in asp.net
Master page in asp.netMaster page in asp.net
Master page in asp.net
 
Chapter 5 (master page)
Chapter 5 (master page)Chapter 5 (master page)
Chapter 5 (master page)
 
Themes
ThemesThemes
Themes
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
SharePoint 2010 Pages
SharePoint 2010 Pages SharePoint 2010 Pages
SharePoint 2010 Pages
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
 
HYF - Class 01 - HTML And CSS
HYF - Class 01 - HTML And CSSHYF - Class 01 - HTML And CSS
HYF - Class 01 - HTML And CSS
 
Activate_Your_AerApplication
Activate_Your_AerApplicationActivate_Your_AerApplication
Activate_Your_AerApplication
 
Customizing Teamup Calendar - Tips for Calendar Administrators
Customizing Teamup Calendar - Tips for Calendar AdministratorsCustomizing Teamup Calendar - Tips for Calendar Administrators
Customizing Teamup Calendar - Tips for Calendar Administrators
 
Seo Introduction/Seo Basics
Seo Introduction/Seo BasicsSeo Introduction/Seo Basics
Seo Introduction/Seo Basics
 
Masterpage in asp.net
Masterpage in asp.netMasterpage in asp.net
Masterpage in asp.net
 
Intro to Search Engine Optimization
Intro to Search Engine OptimizationIntro to Search Engine Optimization
Intro to Search Engine Optimization
 
Design Guidelines For Web Sites
Design Guidelines For Web SitesDesign Guidelines For Web Sites
Design Guidelines For Web Sites
 
How the page speed impacts your seo
How the page speed impacts your seoHow the page speed impacts your seo
How the page speed impacts your seo
 
asp.net Webconfiguration
asp.net Webconfigurationasp.net Webconfiguration
asp.net Webconfiguration
 

Similar to Master page

masterpages 1.pptx
masterpages 1.pptxmasterpages 1.pptx
masterpages 1.pptx
SANJUSANJEEVTOPPO
 
ASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites AppearanceASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites Appearance
Randy Connolly
 
Aspnet master pages_tutorial_10_cs
Aspnet master pages_tutorial_10_csAspnet master pages_tutorial_10_cs
Aspnet master pages_tutorial_10_cs
Vaibhav Chavan
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
Vivek chan
 
Asp.net web page syntax overview
Asp.net web page syntax overviewAsp.net web page syntax overview
Asp.net web page syntax overview
Salam Khan
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
WebStackAcademy
 
Master Pages And Navigation
Master Pages And NavigationMaster Pages And Navigation
Master Pages And Navigation
Alfredo Cancino
 
Customizing the Appearance and HTML Output of Visualforce Pages
Customizing the Appearance and HTML Output of VisualforcePages Customizing the Appearance and HTML Output of VisualforcePages
Customizing the Appearance and HTML Output of Visualforce Pages
Mohammed Safwat Abu Kwaik
 
Blooming SharePoint Design
Blooming SharePoint DesignBlooming SharePoint Design
Blooming SharePoint Design
Kathy Hughes
 
single page application
single page applicationsingle page application
single page application
Ravindra K
 
SharePoint 2010 Introduction
SharePoint 2010 IntroductionSharePoint 2010 Introduction
SharePoint 2010 Introduction
Vishal Gupta
 
11 asp.net session16
11 asp.net session1611 asp.net session16
11 asp.net session16
Vivek chan
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
Niit Care
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
WebStackAcademy
 
Advanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationAdvanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site Administration
Learning SharePoint
 
SharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature staplingSharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature stapling
Salaudeen Rajack
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
Mani Chaubey
 
Session 1
Session 1Session 1
Session 1
Asif Atick
 
Chapter 12
Chapter 12Chapter 12

Similar to Master page (20)

masterpages 1.pptx
masterpages 1.pptxmasterpages 1.pptx
masterpages 1.pptx
 
ASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites AppearanceASP.NET 06 - Customizing Your Sites Appearance
ASP.NET 06 - Customizing Your Sites Appearance
 
Aspnet master pages_tutorial_10_cs
Aspnet master pages_tutorial_10_csAspnet master pages_tutorial_10_cs
Aspnet master pages_tutorial_10_cs
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
 
Asp.net web page syntax overview
Asp.net web page syntax overviewAsp.net web page syntax overview
Asp.net web page syntax overview
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
 
Master Pages And Navigation
Master Pages And NavigationMaster Pages And Navigation
Master Pages And Navigation
 
Customizing the Appearance and HTML Output of Visualforce Pages
Customizing the Appearance and HTML Output of VisualforcePages Customizing the Appearance and HTML Output of VisualforcePages
Customizing the Appearance and HTML Output of Visualforce Pages
 
Blooming SharePoint Design
Blooming SharePoint DesignBlooming SharePoint Design
Blooming SharePoint Design
 
single page application
single page applicationsingle page application
single page application
 
SharePoint 2010 Introduction
SharePoint 2010 IntroductionSharePoint 2010 Introduction
SharePoint 2010 Introduction
 
11 asp.net session16
11 asp.net session1611 asp.net session16
11 asp.net session16
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
 
master page_in_asp.net
master page_in_asp.netmaster page_in_asp.net
master page_in_asp.net
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 8 ...
 
Advanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationAdvanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site Administration
 
SharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature staplingSharePoint Site templates, site definitions, feature stapling
SharePoint Site templates, site definitions, feature stapling
 
04 asp.net session05
04 asp.net session0504 asp.net session05
04 asp.net session05
 
Session 1
Session 1Session 1
Session 1
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 

More from Bhavesh Parmar

Queue
QueueQueue
Inerrupt
InerruptInerrupt
Inerrupt
Bhavesh Parmar
 
Mpeg7
Mpeg7Mpeg7
Training and placement reportmsword
Training and placement reportmswordTraining and placement reportmsword
Training and placement reportmsword
Bhavesh Parmar
 
acknowledgement
acknowledgementacknowledgement
acknowledgement
Bhavesh Parmar
 
index of project
index of projectindex of project
index of project
Bhavesh Parmar
 
Training and placement
Training and placementTraining and placement
Training and placement
Bhavesh Parmar
 
4 index
4 index4 index
3 page acknowledgement1
3 page acknowledgement13 page acknowledgement1
3 page acknowledgement1
Bhavesh Parmar
 
Training and placement ppt
Training and placement pptTraining and placement ppt
Training and placement ppt
Bhavesh Parmar
 

More from Bhavesh Parmar (10)

Queue
QueueQueue
Queue
 
Inerrupt
InerruptInerrupt
Inerrupt
 
Mpeg7
Mpeg7Mpeg7
Mpeg7
 
Training and placement reportmsword
Training and placement reportmswordTraining and placement reportmsword
Training and placement reportmsword
 
acknowledgement
acknowledgementacknowledgement
acknowledgement
 
index of project
index of projectindex of project
index of project
 
Training and placement
Training and placementTraining and placement
Training and placement
 
4 index
4 index4 index
4 index
 
3 page acknowledgement1
3 page acknowledgement13 page acknowledgement1
3 page acknowledgement1
 
Training and placement ppt
Training and placement pptTraining and placement ppt
Training and placement ppt
 

Recently uploaded

The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
Guangdong Ctube Industry Co., Ltd.
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
hotchicksescort
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
sonamrawat5631
 
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
Ak47
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
nainakaoornoida
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
kamka4105
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
IJCNCJournal
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
nonods
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
dABGO KI CITy kUSHINAGAR Ak47
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
GOKULKANNANMMECLECTC
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Dr.Costas Sachpazis
 

Recently uploaded (20)

The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
 
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
College Call Girls Kolkata 🔥 7014168258 🔥 Real Fun With Sexual Girl Available...
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
一比一原版(psu学位证书)美国匹兹堡州立大学毕业证如何办理
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
 

Master page

  • 1. Guided by: Prof. Kanu Patel ( BVM IT Department ) .NET TECHNOLOGY(2160711) Prepared by: Modha Sanjay (150083116005) Parmar Bhavesh (150083116007) Parmar Bhavesh (150083116008)
  • 2. MASTER PAGE  ASP.NET master pages allow you to create a consistent layout for the pages in your application.  A single master page defines the look and feel and standard behaviour that you want for all of the pages (or a group of pages) in your application.  You can then create individual content pages that contain the content you want to display. When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.
  • 3. HOW MASTER PAGES WORK  A master page is an ASP.NET file with the extension .master (for example, MySite.master) with a predefined layout that can include static text, HTML elements, and server controls.  The master page is identified by a special @Master directive that replaces the @Page directive that is used for ordinary .aspx pages.The directive looks like the following. <%@ Master Language="C#" %>
  • 4. ADVANTAGES OF MASTER PAGES  They allow you to centralize the common functionality of your pages so that you can make updates in just one place.  They make it easy to create one set of controls and code and apply the results to a set of pages. For example, you can use controls on the master page to create a menu that applies to all pages.  They give you fine-grained control over the layout of the final page by allowing you to control how the placeholder controls are rendered.
  • 5. RUN-TIME BEHAVIOUR OF MASTER PAGES  Users request a page by typing the URL of the content page.  When the page is fetched, the @ Page directive is read. If the directive references a master page, the master page is read as well. If this is the first time the pages have been requested, both pages are compiled.  The content of individual Content controls is merged into the corresponding ContentPlaceholder control in the master page.  The resulting merged page is rendered to the browser.
  • 6. MASTER PAGES AT RUNTIME  The process is illustrated in the following diagram.  This diagram is simplified ;if the content page does not have corresponding Content controls , the master page might also have mark-up and controls in the ContentPlaceHolder controls.
  • 7. MASTER PAGE AND CONTENT PAGE PATHS  When a content page is requested, its content is merged with the master page, and the page runs in the context of the content page.  The master page and content page do not have to be in the same folder.  As long as the MasterPageFile attribute in the content page's @ Page directive resolves to a .master page, ASP.NET can merge the content and master pages into a single rendered page.
  • 8. MASTER PAGES ANDTHEMES  You cannot directly apply an ASP.NET theme to a master page  If a theme is defined in the content page. Master pages are resolved in the context of content pages, so the content page's theme is applied to the master page as well. If the site as a whole is configured to use a theme by including a theme definition in the Pages Element (ASP.NET Settings Schema) element.
  翻译: