-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have the requirement to support themeing of my site's pages. The way I am doing this is by dynamically choosing a master page based on the current theme.
I have setup a directory structure like so
/shared/masterpages/theme1/Master1.master
/shared/masterpages/theme1/Master2.master
/shared/masterpages/theme1/Master3…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
OK, another road bump in my current project.
I have never had form elements in both my master and content pages, I tend to have all the forms in the content where relevant.
In the current project however, we have a page where they want both. A login form at the top right, and a questions form in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I have an ASP.net master page. In this master, I have all my css and javascript files defined. I also have a few images and a few buttons and hyperlinks.
All the urls are all declared as relative ie "/scripts/ian.js"
Everything works fine if this site is the root website, but I need it…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
Today we're going to look at a technique for dynamically inserting
meta tags into your master pages. By taking control of the head tag and
inserting your own HtmlMeta you can easily customise these tags.Might
have noticed that when you create a new master page in visual studio
your <head>…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Current Setup
I currently have three masterpages and content pages in the following hierarchy :
One root-level masterpage that displays the final result. Call this "A"
Two sibling pages that don't reference each other but contain all the same contentplaceholder elements, just in a different order…
>>> More