Connecting Tech Pros Worldwide Forums | Help | Site Map

CSS not updating

sling blade
Guest
 
Posts: n/a
#1: Nov 18 '05
Hi,

I am woring in VS.Net 2003. I am trying to make minor adjustments to
my webpage via my stylesheet.

However the changes that I make don't take effect until I close VS.Net
and open it back up again.

Of course this is very frustrating.

Can someone please let me know the trick to updating the StyleSheet
without having to boot the entire app?


Thanks

Roger Helliwell
Guest
 
Posts: n/a
#2: Nov 18 '05

re: CSS not updating


On 15 Nov 2004 00:04:57 -0800 in
microsoft.public.dotnet.framework.aspnet, scottf35@hotmail.com (sling
blade) wrote:
[color=blue]
>Can someone please let me know the trick to updating the StyleSheet
>without having to boot the entire app?
>
>
>Thanks[/color]

Did you try forcing a refresh in your browser? (In IE it's Ctrl +
refresh button)

Roger

Flip
Guest
 
Posts: n/a
#3: Nov 18 '05

re: CSS not updating


> Did you try forcing a refresh in your browser? (In IE it's Ctrl +[color=blue]
> refresh button)[/color]
We had this exact problem as well. :< And this solution (force refresh),
and it worked for us, it should work for you too.

Another solution I've thought of, bu haven't tried yet, is to version number
the css file right in the filename. Not pretty to look at, but when you're
done fiddling with the file and release the webapp, you know your clients
will be downloading the newest/latest and greatest CSS when they goto your
webpage. Just a thought on how to ease your clients experience cause they
may not know how to do the manual refresh or know they have to do the
manual refresh.


sling blade
Guest
 
Posts: n/a
#4: Nov 18 '05

re: CSS not updating


> Did you try forcing a refresh in your browser? (In IE it's Ctrl +[color=blue]
> refresh button)
>
> Roger[/color]

Thanks Roger,

I when I run the app the changes do take effect. However, the load
time to get my Website running takes up to 30 - 60 seconds after I hit
"run" (and I am running it without debugging).

What I really need is a way to refresh the app in design-time. I have
noticed that I can completely delete classes in the stylesheet and it
doesn't effect the way the page displays in design-time; so obviously
it is holding it in cache somewhere and that is why I can't see the
changes.

Any ideas on getting asp.net to refresh in design-time?
Closed Thread