bdb12
asked on
Displaying controls made in VB code
USing VB.NET & ASPX conntrols
If I create a control in the code
eg Dim txt1 as New textbox
how can I then display that control on the actual form?
I think it has something to do with aspx for that page, but Im not sure how to actual place the control Object so its on the form for the user to see....
thx
If I create a control in the code
eg Dim txt1 as New textbox
how can I then display that control on the actual form?
I think it has something to do with aspx for that page, but Im not sure how to actual place the control Object so its on the form for the user to see....
thx
ASKER
thx for your reply
.location & . show don't come up in intellisense....using VS 2005....
.location & . show don't come up in intellisense....using VS 2005....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Awesome ...thx man
Didnt need the InitializeComponent() tho
Didnt need the InitializeComponent() tho
txt1.Location=New Point(x,y)
form1.Controls.Add(txt1)
txt1.Show()