CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/23/2007 2:52:19 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
SonOfPirate
Asp.Net User
Stylesheet changes not reflected in pages3/23/2007 2:52:19 PM

0/0

I am developing an ASP.NET 2.0 web app using VS 2005 SP1 and VSS for source control.  The site uses a master page and theming.  My problem is that whenever I make a change in the stylesheet and rerun the site, the same styles are being applied.  I can even browser directly to the stylesheet by entering the url into the address bar (which, of course, open FrontPage and all that jazz) and the old version shows up.  Even shutting down VS and restarting doesn't fix this.

This has become a huge problem since I am relying on CSS for much of the visual presentation.  It is making it impossible to "tweak" the site.

Has anyone else experienced this and, if so, what can I do to make the site behave as expected?!?!?

Thanks in advance.

bpag
Asp.Net User
Re: Stylesheet changes not reflected in pages3/23/2007 5:51:13 PM

0/0

Generally speaking browsers cache the CSS files and then reuse them from their cache instead of pulling them from the server again so maybe that is what is happening. If you change the style sheet in your site then when you bring up the page you will then have to refresh (F5) the page after it loads. If that still doesn't work try Ctrl-F5 in IE which ignores the cache completely during refresh.
If this post answered your question please remember to 'Mark as Answer'!
SonOfPirate
Asp.Net User
Re: Stylesheet changes not reflected in pages3/24/2007 1:49:44 PM

0/0

Not sure what has changed, but for the moment it now seems to be working as expected.  I wasn't aware of the Ctrl-F5 and will give that a try should/when the problem resurfaces.  But, my guess is that you are right.  I had tried to delete the temporary files previously to see if that would help but it didn't.  I suspected it was a cache thing especially when I tried to navigate directly to the css file and it brought up the older version.  Only explanation for that would be that it was a cached copy.  But, alas, clearing the temporary files and refreshing didn't make a difference.  As I said, I'll try the Ctrl-F5 next time.  Thanks for the input.

 

Zhao Ji Ma - MS
Asp.Net User
Re: Stylesheet changes not reflected in pages4/3/2007 2:06:28 AM

0/0

Hi,

Browser cache might be the issue, please try to empty the cache and try again. You can do this from Internet Option -> General -> Browsing history -> Delete... in IE 7. And please do check if the stylesheet link url in your .aspx is right, although you can browser directly to the stylesheet by entering the url into the address bar, the path from .aspx to .css file might be wrong.  


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Mastering Integrated HTML and CSS: Integrate HTML Or XHTML and Cascading Style Sheets for Best Results. Master Key Techniques and Improve Your Productivity Authors: Virginia DeBolt, Pages: 600, Published: 2007
Macromedia Dreamweaver MX: Training from the Source Authors: Khristine Annwn Page, Pages: 560, Published: 2003
Integrated HTML and CSS: A Smarter, Faster Way to Learn Authors: Virginia DeBolt, Pages: 377, Published: 2005
JavaScript Bible Authors: Danny Goodman, Michael Morrison, Brendan Eich, Pages: 1173, Published: 2007
Beginning Ajax Authors: Chris Ullman, Lucinda Dykes, Pages: 498, Published: 2007
Macromedia Dreamweaver 8: Training from the Source Authors: Khristine Annwn Page, Pages: 590, Published: 2006
Foundation PHP for Dreamweaver 8 Authors: David Powers, Pages: 510, Published: 2005
Dreamweaver MX 2004: The Complete Reference Authors: Ray West, Tom Muck, Pages: 958, Published: -1
JavaScript: The Complete Reference Authors: Thomas A. Powell, Fritz Schneider, Pages: 948, Published: 2004
XML-based Data Management and Multimedia Engineering--EDBT 2002 Workshops: EDBT 2002 Workshops XMLDM, MDDE, and YRWS, Prague, Czech Republic, March 24-28, 2002 : Revised Papers Authors: Akmal B. Chaudhri, Chabane Djeraba, Rainer Unland, Wolfgang Lindner, Pages: 652, Published: 2002

Web:
Stylesheet changes not reflected in pages - ASP.NET Forums Re: Stylesheet changes not reflected in pages. 03-23-2007, 1:51 PM ... Re: Stylesheet changes not reflected in pages. 03-24-2007, 9:49 AM ...
'Re: Another type of XSLT' - MARC Changes to "xmldoc1" are not reflected in "xmldoc2". ... then filters this through a stylesheet to produce an XHTML page, which is displayed to the user. ...
I need my CSS in the master page to get reflected in content page But it will not reflect on the content page, because only the contents ...
changes to custom stylesheet not shown - Zen Cart Support Reload this Page changes to custom stylesheet not shown ... my changes to the css stylesheet to be reflected on the actual site in browsers. ...
Changes in style.css not reflected on site | drupal.org Changes in style.css not reflected on site. Theme development · Drupal 6.x ... Is your style.css in the same folder as your page.tpl.php? ...
Shane Perran’s SharePoint Customization Blog » Blog Archive ... i m trying the same but the changes are not getting reflected, got IIS reset, ... When you save or close the page or the copy of the default style sheet, ...
dynamic stylesheet problem - .NET C# Now my problem is if I change few things in my stylesheet, it is not reflected on my page even when I have added DateTime attribute at the ...
SQL Server Reporting Services Style Sheet? I made some changes to the ReportingServices.css but they are not reflected on the report page at all! When I view the source, the style ...
Example Web Site If you need to change colours of headings etc, you can make changes to the one style sheet and the change will be reflected in all web pages that have a ...
.css Files in Design View - Topic Powered by Infopop Am on page 169 and working with the External Style Sheet... stroll.css. ... would not be reflected in the external style sheet, stroll.css. ...




Search This Site:










paypal features in commerce starter

how do you reference a master page outside of current application?

controller classes question for core

does a web application project requires anything beside msbuild to get compiled?

must master pages be built using server controls?

no login after deployment

master page and dropdownlist

dnn 2x where the heck is the database?!

is non-enabled sufficient for a captcha protected createuserwizard?

dnn3.0.5 users online module problem

macromedia dreamweaver mx and dnn

site crashing because of error with microsoft.web.ui.webcontrols

object reference not set to an instance of an object.

role problem

edit and continue...

help: flowing original caller to database (2 hops)

custom __dopostback()???

treeview event handlings

loading theme dynamically

opening projects of different languages

previewing a page before deleting from recycle bin

always have to login twice :(

webresource.axd

not understanding master page and content area issue - newbie question

too slow to download

recommended dotnetnuke hosts?

help please ....

make objects exist through round trips

hiding/removing dnn's control

viewing personal website and get the following error............

 
All Times Are GMT