Class that can be used by Controls to access some common high level functionality
Westwind.Web.Mvc.PageEnvironment
public class PageEnvironment : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
EmbedCssLink |
public void EmbedCssLink(StringBuilder output, string cssLink, string id) |
|
EmbedScriptReference |
Embeds a script tag that references an external .js/resource public void EmbedScriptReference(StringBuilder output, string url, string id) |
|
EmbedScriptResource |
Embeds a script reference into the page public void EmbedScriptResource(StringBuilder output, Type type, string resourceId, string id) |
|
EmbedScriptString |
Embeds a piece of script into the page uniquely by id. public void EmbedScriptString(StringBuilder output, string script, string id, bool addScriptTags) |
|
GetWebResourceUrl |
Returns a Url to a WebResource as a string public string GetWebResourceUrl(Type type, string resourceId) |
|
Current |
Current Page State Instance |
Requirements
Namespace: Westwind.Web.MvcAssembly: westwind.web.mvc.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic