protected override void OnPreRender(EventArgs e) { //ScriptManager scm = new ScriptManager(); //scm.EnableScriptGlobalization = true; //form1.Controls.AddAt(0, scm); MCS.Web.WebControls.OuUserInputControl OuUserInputControl1 = new MCS.Web.WebControls.OuUserInputControl(); OuUserInputControl1.ID = "asdsad"; //OuUserInputControl1.GetDataSource += new MCS.Web.WebControls.AutoCompleteExtender.GetDataSourceDelegete(OuUserInputControl1_GetDataSource); dynamicDiv.Controls.Add(OuUserInputControl1); base.OnPreRender(e); }
protected override void OnPreRender(EventArgs e) { //ScriptManager scm = new ScriptManager(); //scm.EnableScriptGlobalization = true; //form1.Controls.AddAt(0, scm); MCS.Web.WebControls.OuUserInputControl OuUserInputControl1 = new MCS.Web.WebControls.OuUserInputControl(); OuUserInputControl1.ID = "asdsad"; //OuUserInputControl1.GetDataSource += new MCS.Web.WebControls.AutoCompleteExtender.GetDataSourceDelegete(OuUserInputControl1_GetDataSource); dynamicDiv.Controls.Add(OuUserInputControl1); base.OnPreRender(e); }