Click here to Skip to main content
15,914,642 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
A panel pnlOne is already on the screen. I want to display another panel pnlTwo on it on mouse
over of a button. I am able to display the pnlTwo but when at diff location. If I want to display
it on pnlOne it is not getting displayed rather shows only pnlOne and part of pnlTwo.
Is it possible to display one panel over another panel?

Thanks
Posted

1 solution

Not sure what kind of problem do you have...

I'm almost sure, that below code should works perfectly (or am i wrong?):
VB
Panel Panel2= new Panel();
Panel1.Controls.Add(Panel2);


Have a look here: How to: Add Controls to an ASP.NET Web Page Programmatically[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900