25
Easy to use tips and articles on VB.NET
Thursday, April 21, 2011Posted by admin
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
Comments
Comment#23 Friday, February 11, 2011 Posted by Sumeet Singh
Simple and easy articles on practical tips in using vb.net to develop windows and ASP.NEt applications.