Thanks Rookie, The page already contains a script manager. All i need to do is to create a Update Panel Dynamically and to set its Triggers.
On Jan 20, 10:02 pm, Rookie <[email protected]> wrote: > Before u need to add > ScriptManager control to the controls collection. > > > > On Tue, Jan 20, 2009 at 2:11 PM, Karthik <[email protected]> wrote: > > > Hi, > > I want to add an Update Panel Dynamically. > > > I have tried the following but it does't seems working... > > > Dim sTxt as TextBox = new TextBox > > Dim ddlTest As DropDownList = New DropDownList > > ddlTest.Items.Add("X") > > ddlTest.Items.Add("Y") > > Dim objUpdatePanel As UpdatePanel = New UpdatePanel > > objUpdatePanel.UpdateMode = UpdatePanelUpdateMode.Conditional > > objUpdatePanel.ContentTemplateContainer.Controls.Add(ddlTest) > > objUpdatePanel.ContentTemplateContainer.Controls.Add(sTxt) > > > Can anyone find a way out? > > > Thanks, > > Karthik- Hide quoted text - > > - Show quoted text -
