I am trying to create a solution in VB.Net (ver 2005). I have created two frames on top of each other and 2 command buttons which will be used to make visible the respective frames when clicked. I have placed the frames exactly on top of each other.
The code I have written in the button1 is
frame1.visible = true
frame2.visible = false
and for button2 the code is
frame1.visible = false
frame2.visible = true
But the first button only does its job and the when i click second button none of the frames are visible.
When i keep the frame side by side its working.
Is there any workaround for this so that I can toggle between frames depending upon user selection.