C# Class MichaelJBaird.Themes.JQMobile.Contact

Inheritance: BlogEngine.Core.Web.Controls.BlogBasePage, ICallbackEventHandler
Mostra file Open project: rasmuskl/ReSharperCourse

Private Properties

Property Type Description
AddHeader void
GetCookie void
SendEmail bool
SetCookie void
SetFocus void
btnSend_Click void

Public Methods

Method Description
GetCallbackResult ( ) : string
RaiseCallbackEvent ( string eventArgument ) : void

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.

Private Methods

Method Description
AddHeader ( ) : void

Adds the header.

GetCookie ( ) : void

Gets the cookie with visitor information if any is set. Then fills the contact information fields in the form.

SendEmail ( string email, string name, string subject, string message ) : bool

Sends the email.

SetCookie ( ) : void

Sets a cookie with the entered visitor information so it can be prefilled on next visit.

SetFocus ( ) : void

Sets the focus on the first empty textbox.

btnSend_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSend control.

Method Details

GetCallbackResult() public method

public GetCallbackResult ( ) : string
return string

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event. Adds links and javascript to the HTML header tag.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

RaiseCallbackEvent() public method

public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string
return void