Re: VWD Stylesheet Caching problem

  • From: "Ricks Place" <OFBGMail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 15 Apr 2008 05:09:58 -0400

Hi Jackie:
I used the <link with the href pointing to the stylesheet. It appears this might be a caching problem. If Asp is caching the Master Page and the Stylesheet this would occur. I did manage to delete cookies, files and history files and have the Css for the newly changed Stylesheet work once. After that, this procedure did not work again. This is a really bugger of a problem. I am going to try some coding ways to see if I can turn off caching, create a new Website with only the most basic objects on it and use it for testing and for putting up code if that does not work. I will create the site, drop a master page, content page and stylesheet into the project. Then put the link to the stylesheet in the Master Page header, some text in the Content Page and use that for testing and displaying code blocks so it will be miles shorter and cleaner if I have to put up code on list or in a Microsoft forum. If you have any other ideas please let me know, this is really getting to be a real pain. Thankfully I'm not on a real contract or I would be getting into real time-constraint trouble.
Rick Farmington USA
----- Original Message ----- From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, April 14, 2008 11:40 PM
Subject: Re: VWD Stylesheet Caching problem


Did u link it?

On 4/14/08, Ricks Place <OFBGMail@xxxxxxxxx> wrote:
Hi:
Tried it, no go. The Stylesheet.css file works perfectly when I use it in a
StandAlone Page. It is when I try and use it with a Master Page / Content
Page senerio.
I just tried putting an output directive in the Content Page twith the
Location set to none but that did nothing. I tried to put it in the Master
Page but got a validation error, VWD does not allow it.
I tried using a theme but it acted in the same manner. If I had not already spent allot of time to build a specialized Login in a content Placeholder in the upper right corner of the master page I would scrap the whole garbage.
But the login, status and registration all appear in a nice corner of the
master page and that took some work. Also, I would have to include it and
the navigation menu on all pages, what a friggn mess, thanks Microsoft,
can't you ever get anything to work in a straight forward manner?
Anyway, I've been on this all day, since about 4:00 this morning and I'm
giving up for the night. Hope I hear from someone who knows how to use
Master Pages and cSs. I don't remember this problem in VS 2005.
I hope someone has an idea.
Rick Farmington Mich. USA
----- Original Message -----
From: "Jackie McBride" <abletec@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, April 14, 2008 6:08 PM
Subject: Re: VWD Stylesheet Caching problem


> Hit your f5 key?
>
> On 4/14/08, Ricks Place <OFBGMail@xxxxxxxxx> wrote:
>> Hi Guys:
>> IE 7, VWD 2008. I have a Stylesheet.css file. If I use it with a >> normal
>> aspx
>> page everything seemed fine, I think. But when I use it with a Master
>> Page
>> it works the first time then no code changes get reflected in the >> browser
>> after the first change. I believe It is being cached. I set the Page
>> Caching
>> to On New Page in IE 7 but that did no good for the .css file. How do >> I
>> stop
>> IE from caching the stylesheet or how can I do it in Web.config or >> what
>> in
>> the blazes do they expect us to do to test changes to our Stylesheets?
>> I just want to either turn off object, stylesheet, caching during
>> development. If I change a Webpage it is reflected fine, just the
>> stylesheet
>> is not being refreshed when I look at in a browser.
>> Rick Farmington Mich. USA
>>
>
>
> --
> Jackie McBride
> Please join my fight against breast cancer
> <http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
> & Check out my homepage at:
> www.abletec.serverheaven.net
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind




--
Jackie McBride
Please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
& Check out my homepage at:
www.abletec.serverheaven.net
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: