Link to home
Start Free TrialLog in
Avatar of rp
rpFlag for Portugal

asked on

asp.net vb.net master page section different

I have a master page, in my website, but i need a different section of master page only when user calls site (first page) like www.xxxx.com. In the other pages, mastewr page is the same. For ex. in main page i need put an image, but in other pages i want a menu in the same location of image.
ASKER CERTIFIED SOLUTION
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nasir Razzaq
You need to use different masterpages in this case. Or you need to put some logic in the masterpage to see what the request URL is. Depending on the requested URL, the masterpage can adjust itself.
@CodeCruiser: see my comment. That is not necessary. You can access the masterpages from the pages.
Yes but the question was not to access the property but rather to display different content.
I know. But the beauty is, that by changing the property (or accessing a method) you can display different content...
My comment was accepted in a similar way but the moderator forced the acceptance of jpaulino's comment.
I don't understand. There's no moderator here and no jpaulino...