/// <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); this.PreRender += new System.EventHandler(this.Page_PreRender); ctlDynamicButtons.Command += new CommandEventHandler(Page_Command); this.m_sMODULE = "Import"; // 07/21/2010 Make sure to highlight the correct menu item. SetMenu(sImportModule); string sRelativePath = Sql.ToString(Application["Modules." + sImportModule + ".RelativePath"]); if ( Sql.IsEmptyString(sRelativePath) ) sRelativePath = "~/" + sImportModule + "/"; ctlDefaultsView = LoadControl(sRelativePath + "ImportDefaultsView.ascx") as SplendidControl; if ( ctlDefaultsView != null ) phDefaultsView.Controls.Add(ctlDefaultsView); // 04/29/2008 Make use of dynamic buttons. ctlDynamicButtons.AppendButtons(m_sMODULE + ".ImportView", Guid.Empty, Guid.Empty); }
/// <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); this.PreRender += new System.EventHandler(this.Page_PreRender); ctlImportButtons.Command = new CommandEventHandler(Page_Command); this.m_sMODULE = "Import"; string sRelativePath = Sql.ToString(Application["Modules." + sImportModule + ".RelativePath"]); if ( Sql.IsEmptyString(sRelativePath) ) sRelativePath = "~/" + sImportModule + "/"; ctlDefaultsView = LoadControl(sRelativePath + "ImportDefaultsView.ascx") as SplendidControl; if ( ctlDefaultsView != null ) phDefaultsView.Controls.Add(ctlDefaultsView); }