Student Reviews
( 5 Of 5 )
1 review
Video of Part 151 Assigning a master page dynamically in asp net in ASP.net course by kudvenkat channel, video No. 151 free certified online
Link for code samples used in the demo
http://csharp-video-tutorials.blogspot.com/2013/10/part-151-assigning-master-page.html
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
https://www.youtube.com/channel/UC7sEwIXM_YfAMyonQCrGfWA/?sub_confirmation1
Link for all dot net and sql server video tutorial playlists
http://www.youtube.com/user/kudvenkat/playlists
In this video, we will discuss, how to select a master page dynamically at runtime. Let us understand this with an example.
The master page and content page are merged during the initialization stage of page processing. A master page must be assigned before then. We generally assign a master page dynamically during the PreInit stage.
This is what we want to achieve.
1. We have 2 master pages in our application.
2. Include a dropdownlist on both the master pages. The dropdownlist should display both the master pages.
3. As we select a master page from the dropdownlist, we want the selected master page to be dynamically set as the master page.