I need some ASP.NET (VB.NET) code, to create a new instance of a already existing control. I know how to dynamicly create controls with ASP.NET:
*Dim lblMessage As New Label()
[login to view URL] = "Hello, World!"
[login to view URL] = True
[login to view URL](lblMessage)
'This adds a panel into a table
*Now I want to dynamicly create a new instance of an already existing panel on a page, I thought of something like this:
*Dim newPanel As initialPanel() 'The already existing control on the site
[login to view URL](lblMessage)
*But this doesn't work. I need some source code, how to dynamicly 'copy' already existing controls on a ASP.NET page.
## Deliverables
1) VB.NET source code, how to dynamicly 'copy' already existing controls on a page
* * *This broadcast message was sent to all bidders on Thursday Aug 16, 2007 8:18:37 AM:
I have uploaded some VB.NET/ASP.NET code (you find it in the project description), that explains what I am in need for. I want the Panel1 to be cloned and added to the page, when the site is loaded (including all text and the Label, must be accesible). Have a look into the PAGE_LOAD function. Thanks!
## Platform
- ASP.NET / VB.NET