GoDiagram Web Reference
RenderCss Method

Produce a header <link> to a CSS file if CssFile is specified; otherwise produce the standard <style> definitions used by generated context menus.
Syntax
'Declaration
 
Protected Overridable Sub RenderCss() 
protected virtual void RenderCss()
Remarks
If CssFile is a non-empty string, that value is used as the HREF attribute value for an external <link>. Otherwise it produces inline definitions of the standard style definitions that are needed for context menus that may be generated on the client. This calls Page.RegisterClientScriptBlock with a key of "Northwoods.GoWeb.styles", and does nothing if that script block is already registered. When CssFile is null or the string "none", this method does nothing: if your page requires using "goContextMenu" or "goMenuItem" or related styles, your ASPX page will need to explicitly include or define those styles.
Requirements

Target Platforms: 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

Reference

GoView Class
GoView Members
RenderScript Method
Render Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback