S
semesm22
i have a form that acts a layout for a movie theatre....i have created a
user control to represent the seat...the problem is that i am
dynamically creating about 200 of these seats at the page_load
event....i did some research and figured out how to use the LoadControl
method, with the page.Control.Add method with a PlaceHolder.....but now
I am stuck, because the PlaceHolder adds all controls vertically (i.e
one below the other), and i need them in 10 rows of 20......so i have
two questions...one how do i get the PlaceHolder to add the controls
horizontally, and, should i just make 10 different place holders, and
then add a row to each one....or can i create one place holder and
somehow get it to work out so that i get 10 rows of 20 seats
thanks alot in advance
user control to represent the seat...the problem is that i am
dynamically creating about 200 of these seats at the page_load
event....i did some research and figured out how to use the LoadControl
method, with the page.Control.Add method with a PlaceHolder.....but now
I am stuck, because the PlaceHolder adds all controls vertically (i.e
one below the other), and i need them in 10 rows of 20......so i have
two questions...one how do i get the PlaceHolder to add the controls
horizontally, and, should i just make 10 different place holders, and
then add a row to each one....or can i create one place holder and
somehow get it to work out so that i get 10 rows of 20 seats
thanks alot in advance