How do you detect DOCTYPE (Transitional or Strict) server-side in ASP.NET?
I am wondering if there is a way to detect from the server-side which DOCTYPE the page is specified as. I have some HTML and CSS in a custom WebControl that renders differently depending on which DOCTYPE the page is. Is there a `Page` property or a `Response` property I could check?
How do you detect DOCTYPE (Transitional or Strict) server-side in ASP.NET?
===

I am wondering if there is a way to detect from the server-side which DOCTYPE the page is specified as. I have some HTML and CSS in a custom WebControl that renders differently depending on which DOCTYPE the page is. Is there a `Page` property or a `Response` property I could check?