Spread ASP.NET 6.0 Product Documentation
IsStrictMode Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : IsStrictMode Method


Glossary Item Box

Determines whether the component is under strict standards-compliant mode.

Syntax

Visual Basic (Declaration) 
Public Function IsStrictMode() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
value = instance.IsStrictMode()
C# 
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.
C#Copy Code
bool b = FpSpread1.IsStrictMode();
if (b)
{
       string msg = "The page is under strict standards-compliant mode.";
       Response.Write("alert('" + msg + "')");
}
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.