These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

FileManager can not be rendered correctly in quirks mode

I am getting this error when adding the FileUltimate control to my aspx page. 

FileManager can not be rendered correctly in quirks mode.
Please use a proper doctype declaration in the host page.

I have this doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

I was able to get rid of this problem (on my end) by adding the edge metatag to my page, but a client just emailed that they are recieving this quirks mode error on their end.
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Steve 1/14/2013 12:10 PM
I fixed this issue by changing the base of my web page to System.Web.UI.Page.

public class DownloadsList: System.Web.UI.Page {

It was originally inheriting another class that was in turn inheriting the System.Web.UI.Page.
Steve 1/14/2013 2:25 PM
Steve, it seems the page class you were inheriting, actually wrote some characters or markup which invalidated the doctype. For example it may have been writing some lines before the actual doctype declaration. Otherwise it doesn't matter which System.Web.UI.Page class you inherit from, it only depends on the output of that page because it's a client-side related issue.
Cem Alacayir 1/23/2013 6:55 AM
Wow... Cem you are good!

The class that the page was inheriting was kicking out a timestamp before the doctype.

<!-- This page was generated at 1/23/2013 9:14:01 AM.  --> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

Sorry about that.
Steve 1/23/2013 7:18 AM