Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

double doctype after postback

$
0
0

I have a C# asp.net 4.5 web application.  It seems like I am getting 2 doctypes in my pages.  I have been trying to find ther source for a couple months, but cannot.  My master page has one html doctype on it - <!DOCTYPE html><html lang="en">.   But what I get on my pages looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!DOCTYPE html PUBLIC "" ""><HTML class=" js flexbox no-flexboxlegacy canvas canvastext no-webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize no-borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg no-smil svgclippaths" lang="en">

I have searched the prject for !doctype and transitional and some other phrases but I cannot find where that HTML 4.0 is coming from anywhere.  It is really driving me nuts.   Has anyone else ever had this problem?

 

Thanks,
Scott Emick
       


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>