Version

EnableStyleProcessing Method

Enable or disable processing STYLE blocks in the header. Default value is true. If that option is enabled, then data from all STYLE blocks located in HEADER or registered with Page are passed to the client and a new styleSheet object is constructed for those old and new classes. That processing may slow down performance and in some cases (mostly under IE6) it may trigger exceptions in the browser. If the application does not modify objects that depend on dynamic css, then it is better for that option to be disabled.
Syntax
'Declaration
 
Public Shared Sub EnableStyleProcessing( _
   ByVal page As Page, _
   ByVal enable As Boolean _
) 
public static void EnableStyleProcessing( 
   Page page,
   bool enable
)

Parameters

page
Reference to page
enable
True: enable, false: disable
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also