C# 클래스 FiftyOne.Foundation.UI.Web.Detection

Display a user interface to enable the user to enter a Premium license key and upgrade Foundation to the premium product. If the fiftyOne/detection element does not exist in the configuration this element is added and the binaryFilePath set to "51Degrees-Premium.dat". The licence key will be written to a file called 51Degrees.mobi.lic in the bin folder. If the site is running in medium trust mode the operation will fail and a message will be displayed to the user. The control also contains a check box to enable / disable the sharing of usage information with 51Degrees.mobi.
상속: BaseDataControl
파일 보기 프로젝트 열기: 51Degrees/dotNET-Device-Detection

보호된 메소드들

메소드 설명
OnInit ( EventArgs e ) : void

Load the controls which will form the user interface.

OnPreRender ( EventArgs e ) : void

Sets the visible status of the instruction messages.

비공개 메소드들

메소드 설명
DisplayResults ( ActivityResult result ) : void

Displays the results returned from an activation or an upload activity.

_buttonActivate_Click ( object sender, EventArgs e ) : void

Fired when the user presses the Activate button.

_buttonRefresh_Click ( object sender, EventArgs e ) : void

Used to refresh the page after the activation has been successful.

_shareUsage_ShareUsageChanged ( object sender, string html ) : void

Displays the result of the share usage change.

_upload_UploadComplete ( object sender, ActivityResult e ) : void

Displays the results to the user.

메소드 상세

OnInit() 보호된 메소드

Load the controls which will form the user interface.
protected OnInit ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPreRender() 보호된 메소드

Sets the visible status of the instruction messages.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
리턴 void