<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: howto avoid to load all the stylesheet files in a theme?</title><link>http://forums.asp.net/thread/1048714.aspx</link><pubDate>Mon, 12 Sep 2005 01:22:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048714</guid><dc:creator>jeffwids</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048714.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1048714</wfw:commentRss><description>It sounds like you have a fairly complicated site with multiple stylesheets &lt;br&gt;
per page and you have broken out the various css classnames into these &lt;br&gt;
stylesheets.  The basic stylesheet probably does not change much (even if &lt;br&gt;
you were to apply a different theme to your site) so include this stylesheet &lt;br&gt;
as a regular link tag in your base master page.  Then create different &lt;br&gt;
themes for each of the different pages that require a different set of &lt;br&gt;
stylesheets.  For instance the themes might be named BlueThemePageType1 and &lt;br&gt;
BlueThemePageType2.  In the basepage for PageType1 or PageType2 set the &lt;br&gt;
appropriate theme in the PreInit event and you are done.&lt;br&gt;
&lt;br&gt;
Themes and masterpages plus good old html all working together can provide a &lt;br&gt;
very dynamic and powerful system for you.</description></item><item><title>Re: howto avoid to load all the stylesheet files in a theme?</title><link>http://forums.asp.net/thread/1048584.aspx</link><pubDate>Sun, 11 Sep 2005 17:50:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048584</guid><dc:creator>hongtao</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048584.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1048584</wfw:commentRss><description>Thanks for your information. I have to say that the theme is still a junior feature.</description></item><item><title>Re: howto avoid to load all the stylesheet files in a theme?</title><link>http://forums.asp.net/thread/1048572.aspx</link><pubDate>Sun, 11 Sep 2005 17:07:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048572</guid><dc:creator>BrockAllen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048572.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1048572</wfw:commentRss><description>&lt;P&gt;I see two ways to address this:&lt;BR&gt;&lt;BR&gt;1) Remove them at runtime. Access Page.Header and remove all the child controls that are HtmlLink that you don't want. &lt;BR&gt;&lt;BR&gt;2) Add them at runtime. Don't put them in the Themes directory, and instead add them as needed by creating HtmlLink controls and&amp;nbsp;adding them &amp;nbsp;Page.Header.&lt;BR&gt;&lt;BR&gt;-Brock&lt;BR&gt;&lt;/P&gt;</description></item><item><title>howto avoid to load all the stylesheet files in a theme?</title><link>http://forums.asp.net/thread/1048484.aspx</link><pubDate>Sun, 11 Sep 2005 14:03:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1048484</guid><dc:creator>hongtao</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1048484.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1048484</wfw:commentRss><description>Having around 10 stylesheets files in the theme, but only about 2 or 3 (a basic stylesheet plus one or two additional style setting) used on&amp;nbsp;one aspx page. How can I avoid the theme loading all the stylesheet files?&lt;BR&gt;&lt;BR&gt;Thanks</description></item></channel></rss>