473,765 Members | 1,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Masterpages/themes woes


My experience now working with master pages on and off for 6 months is that
they can be very dangerous when working with themes.
One example in particular is the changes I made to my banner menu which now
work just fine with all my themes on my development machine but on my
production server my non-standard themes are showing effects that are no
longer in place even with a complete re-copy of my project.
Problems like this with masterpage/themes is so common for my project as
well as the project I have at work that when I need to make a change I make a
full backup.
So the question I guess is this. Is there some advanced feature I am missing
that will clear out the old themes settings that are hiding someplace that is
comepletly beyond my understanding? The only place I can think that these
things are being stored is in the IIS itself and yes I have deleted all my
temp files in my browser and even tried accessing the same pages from
different machines!
Today I had to basically totally rebuild my banner. It wouldn’t even accept
a cut and re-paste!

Jul 22 '06 #1
4 1683
An explicit answer depends on your implementation which you say nothing
about in detail which is typical.

Are you using a Theme or a StyleSheetTheme ? Skins? Separate stylesheets?
Where might those stylesheets be located? How are they being loaded? Do you
attempt to apply style inline?

I use MasterPages myself and IIS (of course) neither of which generally
speaking has any adverse impact on styling content. Granted, CSS can impact
the page layout but again, you say nothing specific about your
implementation. For me, the key to understanding 2.0 Themes and Skins has
been learning how Themes and Skins or the StyleSheetTheme supports the css
class inheritance model.

Finally, I'm a one man band and don't use source control (yet) and have a
time or two or three realized I was not in fact using the files I thought I
had deployed. It sounds like you've simply blundered in the same way.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"Sean" <Se**@discussio ns.microsoft.co mwrote in message
news:9D******** *************** ***********@mic rosoft.com...
>
My experience now working with master pages on and off for 6 months is
that
they can be very dangerous when working with themes.
One example in particular is the changes I made to my banner menu which
now
work just fine with all my themes on my development machine but on my
production server my non-standard themes are showing effects that are no
longer in place even with a complete re-copy of my project.
Problems like this with masterpage/themes is so common for my project as
well as the project I have at work that when I need to make a change I
make a
full backup.
So the question I guess is this. Is there some advanced feature I am
missing
that will clear out the old themes settings that are hiding someplace that
is
comepletly beyond my understanding? The only place I can think that these
things are being stored is in the IIS itself and yes I have deleted all my
temp files in my browser and even tried accessing the same pages from
different machines!
Today I had to basically totally rebuild my banner. It wouldn't even
accept
a cut and re-paste!

Jul 22 '06 #2
My implementation of themes is specific and exactly "by the book" for the new
..Net 2.0 feature and when I say "by the book" I mean EXACTLY as Micrsoft
iteself says to use it as well as the book "Proffesion al ASP.Net 2.0" which
also happens to be the exact way another developer was doing it independent
of myself and was experiencing the same problems

"clintonG" wrote:
An explicit answer depends on your implementation which you say nothing
about in detail which is typical.

Are you using a Theme or a StyleSheetTheme ? Skins? Separate stylesheets?
Where might those stylesheets be located? How are they being loaded? Do you
attempt to apply style inline?

I use MasterPages myself and IIS (of course) neither of which generally
speaking has any adverse impact on styling content. Granted, CSS can impact
the page layout but again, you say nothing specific about your
implementation. For me, the key to understanding 2.0 Themes and Skins has
been learning how Themes and Skins or the StyleSheetTheme supports the css
class inheritance model.

Finally, I'm a one man band and don't use source control (yet) and have a
time or two or three realized I was not in fact using the files I thought I
had deployed. It sounds like you've simply blundered in the same way.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"Sean" <Se**@discussio ns.microsoft.co mwrote in message
news:9D******** *************** ***********@mic rosoft.com...

My experience now working with master pages on and off for 6 months is
that
they can be very dangerous when working with themes.
One example in particular is the changes I made to my banner menu which
now
work just fine with all my themes on my development machine but on my
production server my non-standard themes are showing effects that are no
longer in place even with a complete re-copy of my project.
Problems like this with masterpage/themes is so common for my project as
well as the project I have at work that when I need to make a change I
make a
full backup.
So the question I guess is this. Is there some advanced feature I am
missing
that will clear out the old themes settings that are hiding someplace that
is
comepletly beyond my understanding? The only place I can think that these
things are being stored is in the IIS itself and yes I have deleted all my
temp files in my browser and even tried accessing the same pages from
different machines!
Today I had to basically totally rebuild my banner. It wouldn't even
accept
a cut and re-paste!


Jul 22 '06 #3
ADDED:

I am using both skins and sytlesheets located in the theme directory with
its proper name. Images are dictated by sytlesheets in the themes while
server controls are dictated by skins.

What is troubling is that for for some themes I get a rendering of a div
layout that doesnt exist on my master page and I know this for a fact becuase
I had to rebuild it twice.

"clintonG" wrote:
An explicit answer depends on your implementation which you say nothing
about in detail which is typical.

Are you using a Theme or a StyleSheetTheme ? Skins? Separate stylesheets?
Where might those stylesheets be located? How are they being loaded? Do you
attempt to apply style inline?

I use MasterPages myself and IIS (of course) neither of which generally
speaking has any adverse impact on styling content. Granted, CSS can impact
the page layout but again, you say nothing specific about your
implementation. For me, the key to understanding 2.0 Themes and Skins has
been learning how Themes and Skins or the StyleSheetTheme supports the css
class inheritance model.

Finally, I'm a one man band and don't use source control (yet) and have a
time or two or three realized I was not in fact using the files I thought I
had deployed. It sounds like you've simply blundered in the same way.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"Sean" <Se**@discussio ns.microsoft.co mwrote in message
news:9D******** *************** ***********@mic rosoft.com...

My experience now working with master pages on and off for 6 months is
that
they can be very dangerous when working with themes.
One example in particular is the changes I made to my banner menu which
now
work just fine with all my themes on my development machine but on my
production server my non-standard themes are showing effects that are no
longer in place even with a complete re-copy of my project.
Problems like this with masterpage/themes is so common for my project as
well as the project I have at work that when I need to make a change I
make a
full backup.
So the question I guess is this. Is there some advanced feature I am
missing
that will clear out the old themes settings that are hiding someplace that
is
comepletly beyond my understanding? The only place I can think that these
things are being stored is in the IIS itself and yes I have deleted all my
temp files in my browser and even tried accessing the same pages from
different machines!
Today I had to basically totally rebuild my banner. It wouldn't even
accept
a cut and re-paste!


Jul 22 '06 #4
I had some problems coordinating myself and I recall I may have also had an
empty div at one time. Since css and skin files are more or less text files
that can have contents in any order once I alphabetized declarations I
started finding it easier to coordinate and rid myself of some redundant
declarations. This is all guesswork but perhaps that strategy may be
helpful. I also went through my HTML source and built start and end comment
blocks around the source. That has also brought unused controls to my
attention from time to time. I hope you work it out but you know as well as
I that if you've been at this for any length of time its always going to be
something ridiculously stoopit staring you right in the face all alond ;-)

<%= Clinton

"Sean" <Se**@discussio ns.microsoft.co mwrote in message
news:37******** *************** ***********@mic rosoft.com...
ADDED:

I am using both skins and sytlesheets located in the theme directory with
its proper name. Images are dictated by sytlesheets in the themes while
server controls are dictated by skins.

What is troubling is that for for some themes I get a rendering of a div
layout that doesnt exist on my master page and I know this for a fact
becuase
I had to rebuild it twice.

"clintonG" wrote:
>An explicit answer depends on your implementation which you say nothing
about in detail which is typical.

Are you using a Theme or a StyleSheetTheme ? Skins? Separate stylesheets?
Where might those stylesheets be located? How are they being loaded? Do
you
attempt to apply style inline?

I use MasterPages myself and IIS (of course) neither of which generally
speaking has any adverse impact on styling content. Granted, CSS can
impact
the page layout but again, you say nothing specific about your
implementation . For me, the key to understanding 2.0 Themes and Skins has
been learning how Themes and Skins or the StyleSheetTheme supports the
css
class inheritance model.

Finally, I'm a one man band and don't use source control (yet) and have a
time or two or three realized I was not in fact using the files I thought
I
had deployed. It sounds like you've simply blundered in the same way.
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee. com
URL http://www.metromilwaukee.com/clintongallagher/
"Sean" <Se**@discussio ns.microsoft.co mwrote in message
news:9D******* *************** ************@mi crosoft.com...
>
My experience now working with master pages on and off for 6 months is
that
they can be very dangerous when working with themes.
One example in particular is the changes I made to my banner menu which
now
work just fine with all my themes on my development machine but on my
production server my non-standard themes are showing effects that are
no
longer in place even with a complete re-copy of my project.
Problems like this with masterpage/themes is so common for my project
as
well as the project I have at work that when I need to make a change I
make a
full backup.
So the question I guess is this. Is there some advanced feature I am
missing
that will clear out the old themes settings that are hiding someplace
that
is
comepletly beyond my understanding? The only place I can think that
these
things are being stored is in the IIS itself and yes I have deleted all
my
temp files in my browser and even tried accessing the same pages from
different machines!
Today I had to basically totally rebuild my banner. It wouldn't even
accept
a cut and re-paste!



Jul 23 '06 #5

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

Similar topics

2
1753
by: clintonG | last post by:
Does anybody know how to use a control such as the DropDownList to change Themes when using MasterPages? I'm also asking in the forum. <%= Clinton Gallagher METROmilwaukee (sm) "A Regional Information Service" NET csgallagher AT metromilwaukee.com URL http://metromilwaukee.com/ URL http://clintongallagher.metromilwaukee.com/
0
1496
by: Full Decent | last post by:
Hey again! In my quest to make proper use of OO PHP I would like to ask for a critique of the current method of doing themes in the Camera Life (http://fdcl.sf.net) software and see if an OO approach is more appropriate. This program consists of multiple PHP pages that include a common.php file. My motivation is to make making themes easier, so we can get more theme contributors! Themes consist of image files, a css file and a PHP...
2
2467
by: iturner100 | last post by:
Hi, I've been struggling with this one for a couple of hours without much joy. Basically, I've got a set of nested masterpages (3 as it happens). I'm dynamically generating a new page in code and want to be able to populate the ContentPlaceholders of the inner-most masterpage at run-time.
3
1512
by: Markus Rytterkull | last post by:
I'm porting an application from asp to asp.net2.0 and thought this would be a good time to test masterpages and themes. The end result is fine but I find it difficult to recreate forms in designmode since the pages gets very cluttered (controls on top of each other, stylesheet from theme not applied). The forms use both layers with absolute positioning and styles (from stylesheet in themes). Does everybody have the same problems with...
5
4319
by: Nick Wouters | last post by:
Dear All In Classic ASP I used CSS for ALL layout. Now in ASP.NET version 2 I am testing out Masterpages as they come in very handy. It seems like it is replacing CSS for layout but what is the best choise? 1) Using Masterpages with Themes (css / images / skins included in this theme)
2
1027
by: Sean | last post by:
We have a Master page problem that comes around time and time at work and it’s a problem that has been confirmed by other developers on the project I have been on. Additionally I have had the exact problems happen on my personal project at home. Myself and the team I have been on are pretty experienced with master pages and themes however now it is time for us to get a deeper understanding then we have been able to find in books...
6
2493
by: Clinton Farleigh | last post by:
Hi, I was going to ask a question, but I think I've answered it so now I am going to rant about how crappy ASP.NET themes are instead. As I've indicated above, my problem today is with themes. Per microsoft "Only one theme can be applied to each page. You cannot apply multiple themes to a page, unlike style sheets where multiple style sheets can be applied."
3
2572
by: WT | last post by:
Hello, I need to list all available themes for a .NET app, is there any API in ..NET2 for this or should I explore the folder files using IO methods ? Thanks for indication CS
15
1217
by: =?Utf-8?B?UmJydA==?= | last post by:
I have a master page I want to use a CSS stylesheet for. I put the link tag in the master page markup, like this <link href="Styles/MyStyle.css" rel="stylesheet" type="text/css" /> It works fine in Visual Studio design view when I look at a content page that uses the master page. However, when I run my web site app, the stylesheet markup mysteriously disappears. Does anybody have any ideas? This is kind of baffling.
0
9393
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10153
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9946
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8830
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7371
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5272
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2800
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.