Spread for ASP.NET 9.0 Product Documentation
IsStrictMode Method
Example 


Determines whether the component is under strict standards-compliant mode.
Syntax
'Declaration
 
Public Function IsStrictMode() As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
value = instance.IsStrictMode()
public bool IsStrictMode()

Return Value

Boolean: true if in strict mode; false otherwise
Remarks

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.

Example
This example determines whether the component is under strict standards-compliant mode.
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
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

 

 


Copyright © GrapeCity, inc. All rights reserved.