Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display multiple asp panels in same page?

Status
Not open for further replies.

malinimv

Programmer
Dec 12, 2006
3
US
I have one panel with exactly how the form should be - how do I repeat that multiple times and still show it in the same page? I guess my question shold be how do I replicate the same panel multiple times?

Any help is appreciated.
 
Copy and paste it on the same page...I can't see why you would want to have multiple panels with the same content on the same page though.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
The panel is basically a section of a form. I have a drop down list to select the quantity of products. For Example, if the user selects two, I want to display the panel corresponding to the product two times so that the user can enter the parameters corresponding to the product.
Hope this makes sense.
 
If it's a dynamic control you want to create, you will have to create it

e.g. Dim pnl as New Panel

Set the relevant properties, and then add it to wherever it needs adding

e.g. myPlaceHolder.Controls.Add(pnl)

and then do this on each load of the page.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top