Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0css skins and postbackscss skins and postbacks
Previous
 
Next
New Post
7/8/2009 3:16 PM
 

We're having a very strange problem with css in DotNetNuke.

It seems that with any of our custom modules, if a user clicks to postback 9 times the skin css is removed  and the page becomes rather ugly. Looking at the source the tags with the urls to the css files are gone. After one more click making 10 postbacks, any custom css files we've added are removed as well. It seems that sometimes the css will come back after more postbacks but other times it will not.

what you click on doesn't matter, just the amount of postbacks. However we have another server that on some days will behave fine, and others will have the same behavior.

We can't narrow it down to anything our modules have in common. It happens in modules that do not share any code, but somehow happens in all our modules that we've tried and not in any other modules that comes with DNN.

Though experimenting we've also found you can postback say 8 times leave the page and come back, you then can postback 9 more times before the css will begone.

Any possible explanations?
Thanks, Nick

 
New Post
8/20/2009 1:07 PM
 

We spent several tedious weeks narrowing this down. Here are the things you need to reproduce this.

You *must* have a DevExpress (www.devexpress.com) control, like a button, on the DNN module.
You don't have to be using it, you just have to have it on the form.
And you have to have the DNN copyright turned off. (yes I'm serious)
And you have to do multiple postbacks from the same page without refreshing the page. (usualy 9)
Then the page will lose the CSS style sheets.

We submitted a bug to DevExpress and they tracked it down but determined that it isn't there fault but rather DotNetNuke's (I agree). So they are't fixing it.
The whole story and a little more information on how to reproduce is here http://www.devexpress.com/Support/Center/p/B138337.aspx

We have a workaround right now, but this is defentilly a bug in DotNetNuke.

 
New Post
8/20/2009 1:41 PM
 

What version of DNN?  Which browser/version(s) have you used?  Can you provide a link so we can see this happening?


- Accuraty / Jeremy
 
New Post
8/20/2009 3:13 PM
 

We’ve had this happen on DNN 4.06.02 and 5.01.01 (98)

It happens on every browser and version we could think of and had at our disposal. The <linkrel="stylesheet" type="text/css" href="..." /> is removed from the html so I'm sure it isn't specific to any browser. The code example at the link I provided confirms this at well. The comment "it also appears to only be happening with IE7 and IE8." at that link was completely wrong. The person who wrote that was misinformed on the issue.
 
I'll see if I can get an outward insulation running and post a link.
 
Thanks
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0css skins and postbackscss skins and postbacks


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out