FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : IsStrictMode Method |
This method is used in support of Microsoft Visual Studio 2005.
Strict Mode is sometimes called strict compliance mode or standards mode or strict rendering mode and refers to the use of a valid DOCTYPE (document type) declaration, as opposed to quirks mode for an incomplete or outdated DOCTYPE. A browser renders the page in strict mode when it detects the presence of a valid up-to-date XML DOCTYPE.
Standards mode may be as good a description as strict mode, since it means strict compliance with the standards, and not strictly being tied to a particular DOCTYPE.
For more information on strict mode, refer to the Microsoft documentation, especially the Internet Explorer documentation.
bool b = FpSpread1.IsStrictMode(); if (b) { string msg = "The page is under strict standards-compliant mode."; Response.Write("alert('" + msg + "')"); }
Dim b As Boolean = FpSpread1.IsStrictMode() If b Then Dim msg As String = "The page is under strict standards-compliant mode." Response.Write("alert('" & msg & "')") End If
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6