CSS not updating

S

sling blade

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
 
R

Roger Helliwell

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


Thanks

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

Roger
 
F

Flip

Did you try forcing a refresh in your browser? (In IE it's Ctrl +
refresh button)
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.
 
S

sling blade

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

Roger

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top