Spread for ASP.NET 9.0 Product Documentation
DocumentMode Property
Example 


Indicates which mode is used to render content properly.
Syntax
'Declaration
 
Public Property DocumentMode As DocumentMode
'Usage
 
Dim instance As FpSpread
Dim value As DocumentMode
 
instance.DocumentMode = value
 
value = instance.DocumentMode
public DocumentMode DocumentMode {get; set;}
Remarks
DocumentMode should only be used when the page explicitly uses META tags to specify the browser mode in Internet Explorer.  For example, the following META tag specifies the browser mode for Internet Explorer 9: <meta http-equiv="x-ua-compatible" content="IE=9">. In this case, Spread cannot detect the browser mode, and it must be specified using the DocumentMode property in code.
Example
This example uses the DocumentMode property.
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9;
FpSpread1.DocumentMode = FarPoint.Web.Spread.DocumentMode.IE9
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.