Ejemplo n.º 1
0
 /// <summary>
 ///		Required method for Designer support - do not modify
 ///		the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Load += new System.EventHandler(this.Page_Load);
     // We have to load the control in here, otherwise the control will not initialized before the Page_Load above.
     ctlSearch    = LoadControl("SearchBasic.ascx") as SearchBasic;
     ctlSearch.ID = "ctlSearch";
     plcSearch.Controls.Add(ctlSearch);
     ctlSearch.Command     = new CommandEventHandler(Page_Command);
     ctlMassUpdate.Command = new CommandEventHandler(Page_Command);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///		Required method for Designer support - do not modify
 ///		the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Load += new System.EventHandler(this.Page_Load);
     // We have to load the control in here, otherwise the control will not initialized before the Page_Load above.
     ctlSearch = LoadControl("SearchBasic.ascx") as SearchBasic;
     ctlSearch.ID = "ctlSearch";
     plcSearch.Controls.Add(ctlSearch);
     ctlSearch.Command = new CommandEventHandler(Page_Command);
     ctlMassUpdate.Command = new CommandEventHandler(Page_Command);
 }