473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Setting StylesheetTheme using Configuration does not work in VS-2005-Designer

Hello,
I set in the configuration file of the application:

<system.web>

<pages styleSheetTheme="E01_Theme01" />

......

This works.

Now I have a SubFolder of the application with an own
WebConfig-File and there I set

<configuration>
<system.web>
<pages styleSheetTheme="E01_Theme02" />
</system.web>
</configuration>

So all pages of this SubFolder should use E01_Theme02 and not E01_Theme01.
If I start such a page it works fine.
If I see the page in VS-2005 Designer, I see the page with E01_Theme01
instead of E01_Theme02 as it should.
So VS-2005-Designer does not recognize that I have an own configuration with
a Theme in the subfolder.

You have the same problem if you use in the main configuration file:
<location path="05_SettingInConfig/SubWeb02">
<system.web>
<pages styleSheetTheme="E01_Theme02" />
</system.web>
</location>

So it seems that setting Themes for Subfolder in configuration files works
fine when the page runs,
but VS-2005-Designer is unable to work correctly.

Remark: I have now worked with VS2005 since 4 weeks to learn all what is
new.
I have very often the result: asp.net 2.0 works fine, VS-2005-Designer works
with the new features bad.
So I have the impression that VS-2005 is not good worked out. Seems there
must be very urgent an update.

Thank you for any help.
Rolf Welskes


Aug 27 '06 #1
1 2702
Hi Rolf,

Visual Studio 2005 use IWebApplication.OpenWebConfiguration to get the web
configuration. Unfortunately, current implementation of this method only
opens root-level web.config.

You can submit your feedback at
http://connect.microsoft.com/feedbac...spx?SiteID=210, our product
team is actively monitoring feedbacks from this site and will consider to
improve in next versions of Visual Studio. Thank you for your understanding.
Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Basem | last post by:
I have found people with similar errors using the ConfigurationManagement application block, but those solutions don't seem to do anything...basically, just trying to read in a configuration xml...
8
by: Hazz | last post by:
What is the triggering action that raises the event which causes my breakpoint to be reached, repeatedly, but does not allow my form to ever remain visible. I set a breakpoint on the line...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting"...
0
by: shapper | last post by:
Hello, How can I apply a StyleSheetTheme to a page at runtime? My Default.aspx.vb code is as follows: 1 Partial Class _Default 2 Inherits Config 3 ...
5
by: giddy | last post by:
Hi , I'm probably just doing something a little silly. I get a System.Configuration.ConfigurationErrorsException! This is my config file: <configSections> <section name="qConfig"...
3
by: Bob | last post by:
Hi, i'm testing the order of application when it comes to styling with skin and CSS files and i come to contradiction between what i get and what i read about theme and CSS. I wrote that...
0
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I'm trying to programatically set a StyleSheetTheme for a web user control. I understand that in order to use the Page.StyleSheetTheme property I must override the base class property. But...
2
by: Marc | last post by:
I am studying a bit and I have encountered some reading stuff about skin files, css files and themes in asp.net. To me the name of the StyleSheetTheme page attribute has little a no connection...
5
by: =?Utf-8?B?bWFzaXg=?= | last post by:
We have an issue with load time in several installations of our application. We've located the information regarding KB 936707 and ensured that the application config file contains the runtime...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.