473,372 Members | 1,157 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,372 software developers and data experts.

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 1667
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**@discussions.microsoft.comwrote in message
news:9D**********************************@microsof t.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 "Proffesional 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**@discussions.microsoft.comwrote in message
news:9D**********************************@microsof t.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**@discussions.microsoft.comwrote in message
news:9D**********************************@microsof t.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**@discussions.microsoft.comwrote in message
news:37**********************************@microsof t.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**@discussions.microsoft.comwrote in message
news:9D**********************************@microso ft.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
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...
0
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...
2
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...
3
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...
5
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...
2
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...
6
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....
3
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
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.