protected void Page_Load(object sender, System.EventArgs e) { this._module = base.Module as SearchInputModule; if (!this.IsPostBack) { LocalizeControls(); } // Register default button when enter key is pressed. DefaultButton.SetDefault(this.Page, this.txtSearchQuery, this.btnSearch); }
protected void Page_Load(object sender, System.EventArgs e) { this._module = base.Module as SearchInputModule; if (! this.IsPostBack) { LocalizeControls(); } // Register default button when enter key is pressed. DefaultButton.SetDefault(this.Page, this.txtSearchQuery, this.btnSearch); }