25 VB.NET Articles - How to use Nested MaserPages in VB.Net websites
Viewing Article

Current Rating :

How to use Nested MaserPages in VB.Net websites

Thursday, April 21, 2011Posted by admin

Category:vb.Net Utilities
 

Well here is a situation. I create 3 templates and each one of them will have a MasterPage. Eg. TemplateMaster1, TemplateMaster2 and TemplateMaster3 Then I create another MasterPage called SiteMasterPage and in SiteMaster I call one of the three templates ( eg. TemplateMaster1) Then I create a default.aspx page which will refer to the SiteMasterPage Now the tags which are in TemplateMaster1 can not be directly used in my default.aspx page In order to use them here is a work around Whereever you want to put the custom content. Create a tag in your SiteMasterPage first and then within it create a tag Here is an example. Then in your default.aspx page you can place the MasterMain

Welcome to this content which is using nested masterpages

Hits:137      Current Rating :      No Of Ratings: 172      AuthorName: admin
  

Comment#23      Friday, February 11, 2011          Posted by Sumeet Singh

 
Hi this site is really great

Comments

Your Name  
 
Your Email( will not appear on page)  
Your Comments