Adding Controls to Control Collection from an update panel

kuwaitos

New Member
Following these two threads:How can I create an Array of Controls in C#.NET?Cannot Access the Controls inside an UpdatePanelI current have this:\[code\]ControlCollection[] currentControlsInUpdatePanel = new ControlCollection[upForm.Controls.Count];foreach (Control ctl in ((UpdatePanel)upForm).ContentTemplateContainer.Controls){ currentControlsInUpdatePanel.}\[/code\]currentControlsInUpdatePanel does not have an add or insert method. why does the first link i post allow that user to .add to his collection. This is what I want to do, find all the controls in my upForm update panel. but i dont see how i can add it to my collection of controls.
 
Back
Top