C# Class MichaelJBaird.Themes.JQMobile.Contact

Inheritance: BlogEngine.Core.Web.Controls.BlogBasePage, ICallbackEventHandler
Afficher le fichier Open project: rasmuskl/ReSharperCourse

Private Properties

Свойство Type Description
AddHeader void
GetCookie void
SendEmail bool
SetCookie void
SetFocus void
btnSend_Click void

Méthodes publiques

Méthode Description
GetCallbackResult ( ) : string
RaiseCallbackEvent ( string eventArgument ) : void

Méthodes protégées

Méthode 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

Méthode 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 méthode

public GetCallbackResult ( ) : string
Résultat string

OnLoad() protected méthode

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.
Résultat void

RaiseCallbackEvent() public méthode

public RaiseCallbackEvent ( string eventArgument ) : void
eventArgument string
Résultat void