Class StaticBasePage
Inheritance
System.Object
StaticBasePage
Namespace: Mediachase.Commerce.Website.BaseControls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0Syntax
public class StaticBasePage : Page
Constructors
StaticBasePage()
Declaration
public StaticBasePage()
Methods
Render(HtmlTextWriter)
We override Render to swap out the default HtmlTextWriter for our own. Our own Writer's sole purpose is to change the the action attribute on the form tag to the vanity Url. This way all postbacks occur on the vanity url
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer | The System.Web.UI.HtmlTextWriter that receives the page content. |