Login | Register
Blog
Mar 30

Written by: Dylan Barber
3/30/2009 12:24 PM  RssIcon

Imagine our surprise when we first started deploying reports some 8 months ago in DotNetNuke and we could never see a ‘spinny’ for any of our reports. Sure when we developed them and did the preview we would get one and when we deployed them on pages outside of DNN we saw it but we could never figure out why, in DNN, it would never show. Until IE8 came out, that is.

IE8 has a wonderful little feature called Compatibility Mode and combined with Fiddler (http://www.fiddler2.com/fiddler2/) we were able to notice that the spinner appeared when the site was switched from Compatibility mode and back to regular but not when the page first loaded.  Forcing the site to load everything again with Alt + F5 seemed to make the spinner appear as well. Watching fiddler while doing this we saw a few things happen. JavaScript files appeared to be reloaded and CSS files appeared to be reloaded. This made us think that maybe some little bit of bad JS or some malformed CSS was causing the ‘spinny’ to not show. So we stripped out or moved all the CSS and Java Script for the site into the module that loaded the report. No luck! No ‘spinny’!

Further investigation with a clean DNN install forced us to strip the default.aspx page down to almost nothing in the way of code until it became evident that it wasn’t code causing it but some meta tag, after all that was all that was left after we ditched everything else in the page. One by one we stripped out the meta tags until success, we removed the ‘PAGE-ENTER’ meta tag, and ‘Hello Mr. Spinny!’.

Removing the <meta http-equiv=”PAGE-ENTER” content=”RevealTrans(Duration=0,Transition=1)” /> tag causes some pages to render and then ‘adjust’ themselves as CSS is applied and I imagine this is why the tag was introduced in the first place, to remove this pseudo flash of un-styled content, not to be confused with FOUC (http://bluerobot.com/web/css/fouc.asp/).  I can’t imagine other places this may have caused problems with dynamic effects, generated content, or JavaScript but it is at least one place to look if you are having some problems.

I must say that the tenacity for hunting this bug has to go to my coworker Lyle – he doesn’t like to blab on like me but he has blogged about this on his blog at http://zacuke.com/index.php/2009/03/dnn-meta-tag-fun/.

2 comment(s) so far...


Gravatar

Re: SSRS - The Report Viewer ‘spinny’!

And, hummm, ahhh the meta tag is removed... how?

By Néstor Sánchez on   3/31/2009 2:08 PM
Gravatar

Re: SSRS - The Report Viewer ‘spinny’!

In our case we just took it out of the default.aspx page. Since we only run the one portal off the install that works for us and we have our upgrade documents all written to double check that. I would guess that it could be removed through code in a specific module or skin object if needed.

Might make for an interesting second article!

By Dylan Barber on   3/31/2009 2:13 PM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Subscribe to our Newsletter
 
Categories
Skip Navigation Links.
Search
Tags
Recent Entries
Mass Tabs – the free way to build a huge site quickly
Playing with the new DNN Blog (4.00.00 Beta 3)
Playing with the new DNN Blog (4.00.00 Beta 2)
SEO in DNN
"Our Development Process" - My Response
‘Privacy Statement’ and ‘Terms of Use’ in DNN
Textarea fun, making textareas auto expand!
OpenForce ‘09 – In case you didn’t know
Archive
Privacy Statement | Terms Of Use
Copyright 2008 by Code My Pants Off