Subject: Creating control
Posted By: acko Post Date: 11/7/2003 5:15:05 AM
How can i dynamicly create control in runtime and put it on page in specific place
Thanks Alex
Reply By: planoie Reply Date: 11/7/2003 8:55:54 AM
1. You need to construct the location where you'll put the control: usually something like a placeholder or a table cell.  The control must be accessible from the code.

2. In your code, do this:
    Dim objDynamicallyCreatedControl As New SomeControlType
    myContainerControl.Controls.Add(objDynamicallyCreatedControl)

Peter
------------------------------------------------------
Work smarter, not harder.
Reply By: acko Reply Date: 11/13/2003 7:34:19 AM
Thanks

Go to topic 6440

Return to index page 1006
Return to index page 1005
Return to index page 1004
Return to index page 1003
Return to index page 1002
Return to index page 1001
Return to index page 1000
Return to index page 999
Return to index page 998
Return to index page 997