CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/19/2006 5:17:34 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 37 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
Scopique
Asp.Net User
Display not Refreshing When CSS in Theme is Updated4/19/2006 5:17:34 PM

0/0

Hi folks,

I have a situation where updates to a theme CSS are not being displayed on the ASPX page.

I have set up APP_THEMES/DEFAULT as the "default" theme. Inside, there's DEFAULT.CSS. When I started working with the site, everything was fine...changes to the CSS would be displayed without issue.

I thought I would include a SKIN file to handle the tedium of datagrids, etc, so I added one in, defined the datagrid, and everything seemed OK (the skin definition in the SKIN file referenced the styles from the CSS file).

However, I decided that I didn't need to go as far as having a SKIN file, so I deleted it (Just DELETE from the VS2005 IDE Solution Explorer).

It seems now that whenever I make changes to the CSS file, elements on the web page which refer to classes within the CSS file no longer reflect those changes. No matter what I do (for instance, changing a font size), the page still displays the same formatting.

I used the Web Site Copy functionality in the VS IDE, closed the project, and opened the copied project in the IDE WITH changes to the CSS file (changing font size from 14px to 140px), and the copied version displayed the 140px font size. However, changing the CSS class back to 14px had NO effect on the copied site.

I am using the embedded web server that shipped with VS2005. If anyone has any suggestions, it would be appreciated.

Thanks,
Chris

 

Scopique
Asp.Net User
Re: Display not Refreshing When CSS in Theme is Updated4/19/2006 7:30:14 PM

0/0

Actually, in the time it took for this to get approved, I KIND of figured it out. It seems that there's some kind of issue with third party CSS editors (I am using Topstyle Pro 3). Editing the CSS outside of the VS IDE, while actually MAKING the changes to the file, wasn't reaching the actual website for some reason. When I edited the CSS in VS, the changes went though OK.

Now, when I first open a CSS file in Topstyle when the CSS file was created in VS' THEME directory, there are some funky characters right before the BODY ID at the top of the sheet. I usually delete these, but I wonder if there's any kind of meta-data that the VS IDE might be including in the CSS that is throwing this off?

Anyway, case closed for now. Thanks for taking the time to view this post.

Chris

sjmueller
Asp.Net User
Re: Display not Refreshing When CSS in Theme is Updated4/20/2006 4:29:46 AM

0/0

there is no metadata.  I edit my stylesheets with dreamweaver all the time and they pick up immediately in the app.  You may be dealing with browser cache issues.
Scopique
Asp.Net User
Re: Display not Refreshing When CSS in Theme is Updated10/18/2006 6:40:13 PM

0/0

I've tried it in IE, Firefox and Opera, an none of them display the changes made to the stylesheets, even when the changes are obvious (such as ridiculous font sizes). For the non-IE browsers, I hit the site for the first time AFTER the styles were changed, so the browsers wouldn't have a cached copy of the page at all.

I've just removed all pages (ASPX, MASTER, ASCX) as well as the theme directories and all CSS files, added in a master page, ASPX page, the Theme directory with the "Default" subdirectory and a single StylesSheet.css. I added a Pre_Init handler to assign the theme (Me.Theme="Default") for the default.aspx page, set the body font to 200px and the background color to Aqua. When I run the site, all I get is white page with default sized text, which is amazingly frustrating, The CSS is sound, since the changes show up fine in Topstyle's preview window.

It's got to be something between the page and the CSS sheet, since putting the styles into the HTML via the STYLE attribute works fine, but I'm confused as to why this link issue would be carried over between browsers as well.

 

Scopique
Asp.Net User
Re: Display not Refreshing When CSS in Theme is Updated10/18/2006 10:50:52 PM

0/0

I have a lead, although I don't know why...Apparently, it's the WEB.CONFG file which is messing things up. Specifically, the LOCATION element.

Below is my WEB.CONFIG. It's all pretty much stock, although I ran it through the web configuration tool to get the Membership and Roles providers set up.

The goal is to allow non-registered users access to DEFAULT.ASPX, with authenticated members belonging to ADMINISTRATORS or USERS roles having full access (for now) to the pages.

It seems that when the LOCATION element is present in the below format, the external CSS isn't applied. When I remove the LOCATION element, the CSS shows up. I've DONE this before, but I can't for the life of me figure out what the heck is going on here...

Any help would be appreciated.


3    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
4    <location path="Default.aspx">
5    <system.web>
6    <authorization>
7    <allow users="?"/>
8    </authorization>
9    </system.web>
10   </location>
11   <appSettings/>
12   <connectionStrings/>
13   <system.web>
14  
15           <roleManager enabled="true"/>
16   <authentication mode="Forms">
17   <forms name=".ASPXAUTH" loginUrl="Login.aspx" defaultUrl="Default.aspx" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false">
18   <credentials passwordFormat="SHA1"/>
19   </forms>
20   </authentication>
21   <authorization>
22   <allow roles="Administrators,Users"/>
23   <deny users="*"/>
24   </authorization>
25   <compilation debug="true" strict="false" explicit="true"/>
26   <pages theme="Default">
27   <namespaces>
28   <clear/>
29   <add namespace="System"/>
30   <add namespace="System.Collections"/>
31   <add namespace="System.Collections.Specialized"/>
32   <add namespace="System.Configuration"/>
33   <add namespace="System.Text"/>
34   <add namespace="System.Text.RegularExpressions"/>
35   <add namespace="System.Web"/>
36   <add namespace="System.Web.Caching"/>
37   <add namespace="System.Web.SessionState"/>
38   <add namespace="System.Web.Security"/>
39   <add namespace="System.Web.Profile"/>
40   <add namespace="System.Web.UI"/>
41   <add namespace="System.Web.UI.WebControls"/>
42   <add namespace="System.Web.UI.WebControls.WebParts"/>
43   <add namespace="System.Web.UI.HtmlControls"/>
44   </namespaces>
45   </pages>
46   </system.web>
47   </configuration>
 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Ajax: The Definitive Guide Authors: Anthony Holdener, Anthony T. Holdener, III, Pages: 980, Published: 2008
The Naval Institute Guide to World Naval Weapon Systems Authors: Norman Friedman, Pages: 858, Published: 2006
Ajax Bible Authors: Steven Holzner, Pages: 695, Published: 2007
Firefox Hacks: Tips & Tools for Next-generation Web Browsing Authors: Nigel McFarlane, Pages: 377, Published: 2005
Microsoft Office FrontPage 2003 Bible Authors: Curt Simmons, Pages: 864, Published: 2003
HTML for the World Wide Web Visual Quickstart Guide: With XHTML and CSS Authors: Elizabeth Castro, Pages: 480, Published: 2003
JavaScript Programming for the Absolute Beginner: The Fun Way to Learn Programming Authors: Andrew Harris, Pages: 347, Published: 2001
IIS 5.0 Authors: Rod Trent, Pages: 0, Published: 2001
Beginning DotNetNuke Skinning and Design: Skinning and Design Authors: Andrew Hay, Shaun Walker, Pages: 432, Published: 2007

Web:
Refreshing freshy theme serendipity port - Abdussamad's webspace Dec 13, 2006 ... The Navigation on top does not Highlight when changeing the site. ... When I ported the theme I simply adapted the html to the css rather ... get s9y to display smarty code in the comments so I just updated the zip file. ...
WordPress Theme Park I took some time to update our CoffeeSpot theme today. ... If the user subscribes to your RSS Feeds, they also do not display your site’s title. ... at the end of style.css and save it. Now let’s refresh the site and see if the title is ...
Using CSS Although not required, Shokase supports the use of .css style sheets. ... In addition to CSS class names for the Shokase display elements, an additional class is added to each folder and picture to identify it by ... Set this file in your theme and refresh your browser to see the results. ... Last Updated: 12/30/ 2008.
Using Moodle: No css, no refresh, no swf-files- importing html-file??? And finally, why does not my swf-files show up when importing a html-file? ... html files to editor moodle uses css from theme css files that can override ... to trick Moodle to display what´s already designed and ready, ...
WordPress Theme Park » Blog Archive » How to properly hide the ... They just clear the text in that box and click on “Update Options”. ... If the user subscribes to your RSS Feeds, they also do not display your site’s title. ... at the end of style.css and save it. Now let’s refresh the site and see if ...
What's New in Spaz See Spaz theme.css for changes; FIX: Auto-adjusting refresh rate would sometimes .... Updated app to work with AIR Beta 2 (will not work with Beta 1). .... Anything over wouldn't display properly in feed, making it less than useful ...
Designredux Free WordPress Theme Updated to Version 0.2 | Blog ... I am not so new to XHTML/CSS or Wordpress but cannot pinpoint the problem. ... has not been added, but if I click the back button and refresh the page, ... I love the ability to select specific categories for display but it only works ...
Change theme dynamically without page refresh in ASP.NET - Tips ... theme: This is the path of the .css file that will be used to ... ... you are changing the theme, page is not getting refreshed and your theme is persisting. ...
CSS random DIV issue - fixed on refresh • mozillaZine Forums Firefox fixes the CSS display after refresh. IE, Opera, and Mozilla all display it correctly. ... i dont have img inserted in html code, but i have them in CSS: ... refresh from server (not cache) and refreshing manualy by pressing the ... Is there any update with this issue? The extra room for possible width ...
Opera Browser Wiki :: User CSS tips and code for Opera Not that the 'My style sheet' box in Author mode is ticked by default in Opera 9 , ... The shortcut is called "Reload stylesheets & Refresh display". ... bits out at the top and bottom and copy them into a new file they'll work in Opera ...

Videos:
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming ...
Long Beach City Council Meeting Long Beach City Council Meeting




Search This Site:










hi everyone,

add contentholder automatically to the content page

asp.net 2.0 menu cross-browser issue

finding a treenode with getelementbyid

registerhiddenfield within master page

findcontrol with master, user control, datalist, footer

links to inc/decrease font size?

allowing unique <title>s for content pages that implement a master

custom sitemapprovider and update of the menu associated

menu control expand url image and width of menu items?

<asp:wizard and javascript question

master page & content pages (urgent)

how to flush just the contents of a master page?

master page in different directory

how to access the child node of treeview in masterpage to content page?

menu control as second level navigation

how can display a radio button before item in treeview control?

error: object expected. what am i missing?

css not applied with theme

css is not working properly

master pages & user control events

masterpages, folders and images

using ajax to avoid refresh of layout in the master page

how to navigate using treeview postback?

master page does not display image on pages which are not in same root level

multiview and treeview -- can't find selectednode

asp:menu submenu sizes

dynamic masterpage?

webresource.axd needs querystring parameter

[2005] some css styles not working when used in a theme

  Privacy | Contact Us
All Times Are GMT