Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : RenderCss Method |
<link>
to a CSS file if CssFile is specified; otherwise produce the standard <style>
definitions used by generated context menus.'Declaration Protected Overridable Sub RenderCss()
protected virtual void RenderCss()
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.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