Property | Type | Description | |
---|---|---|---|
ReturnLink | global::System.Web.UI.WebControls.Literal | ||
ReturnUrl | global::System.Web.UI.HtmlControls.HtmlAnchor | ||
form1 | global::System.Web.UI.HtmlControls.HtmlForm |
Method | Description | |
---|---|---|
Page_Load ( object sender, EventArgs e ) : void |
|
Method | Description | |
---|---|---|
DisplayResult ( FormSettings settings, ResultActionBase result, Guid recordID, IEnumerable |
|
|
ForceRedirect ( string url ) : void |
Replacement for Response.Redirect() when the latter is not working properly Sometimes instead of actually redirecting the user, the browser displays the message "Object moved" with link to the redirect destination. Since this is not desired behavior, I've implemented this function according to this KB article: http://support.microsoft.com/?id=193489 and this forum post: http://forums.asp.net/t/1271142.aspx/1 |
|
GetFormSettings ( Guid &formId ) : FormSettings |
Retrieves the settings for the form currently being POSTed
|
|
RecordRequest ( ) : void |
|
|
ReturnHttpError ( int statusCode, string statusDescription = null, bool endResponse = true ) : void |
Sends specified HTTP status code back to the client and aborts any remaining Response content
|
|
SaveToDatabase ( |
Saves form data (including XML representation) to the database
|
|
SendEmails ( FormSettings settings, XmlDocument data ) : bool |
Sends form POST as e-mail to specified recipients
|
|
SetReturnLink ( string linkText, Guid recordID ) : void |
|
|
TransformToEmail ( FormSettings settings, XmlDocument form ) : string |
Apply XSLT template for E-mail
|
protected Page_Load ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
protected global::System.Web.UI.WebControls.Literal ReturnLink | ||
return | global::System.Web.UI.WebControls.Literal |
protected global::System.Web.UI.HtmlControls.HtmlAnchor ReturnUrl | ||
return | global::System.Web.UI.HtmlControls.HtmlAnchor |