From: Manu Temmerman-U. <man...@gm...> - 2006-03-17 19:31:13
|
There is an example in the examples directory of anthem called: DynamicAnthemControls.aspx and DynamicUserControls.aspx. Could those 2 help you out? Could you maybe give a little bit more code? On 3/17/06, Sean McCarthy <sea...@ho...> wrote: > > Hi, > > I have a page that adds a control (many anthem widgets) to a placeholder > on the page when a button is clicked. > > > > The ajax events don't run if I load the control and add it to the place > holder in the button event. If I do the same action in the page load it > works properly. Does anyone know why or how to workaround this? > > > > I have also tried creating the control in the placeholder on page load an= d > then setting it invisible and then making it visible when the button even= t > fires. This didn't work either. > > > > Heres my logic: > > > > //if I do this in the page load works fine=85.if I do the same in button > event the ajax widgets fail to update > > loadTheControl(); > > addTheControlToThePlaceHolder(); > > setTheNameOfTheControl(); > > > > > > Im new to anthem / ajax so if you could point me in the right direction i= t > would appreciated. > > > > Thanks in advance > > > > Sean > |