-
Using a Panel as a Frame
OK, so I'm using a Panel in place of the vb 6 frame. I want to be able to place 3 or 4 panels right on top of one another and just make visible the ones needed.
But...
When I try to drag a panel1 over top of panel2, panel2 ends up being inserted into panel1.
Is there anything I can do here?
-
Just drag somewhere else then move it with the Location property.
-
-
You can set everything using the propertygrid at designtime? As long as you don't drag the panel over the other initially you should be alright.
-
Since I'm using web controls, I don't have a location (or left, top, x, or y) property.
panel1.?? what? Attribute??
-
You didn't mention that this is an ASP.NET project, I'm not sure then. What is it you are attempting to do with the panels? Couldn't you just fill the 1 panel's contents dynamcially?
-
sorry. I keep forgetting it's not just VB anymore.
I probably should've been in the ASP.net forum.
That's what I'm doing now. I was hoping to just set it up like you would frames and just make 1 visible when you need to.
Thanks!