D
DougS
I have two panels to which I'm dynamically adding user controls (that
contain text boxes). I want to hide panel one as the user is editing data in
panel two. And vice versa.
I'm loading the controls in each panel on PageLoad
If NOT me.ispostback Then
LoadPanel1()
LoadPanel2()
End If
I have two images that toggle visibility for the panels. I have
EnabledViewState = True for both panels. But when I click on the images they
both lose all their controls. Or at least I cant see them. What am I doing
wrong? Also, I want it to retain the values in the text boxes when they are
toggled.
Thanks,
Doug
contain text boxes). I want to hide panel one as the user is editing data in
panel two. And vice versa.
I'm loading the controls in each panel on PageLoad
If NOT me.ispostback Then
LoadPanel1()
LoadPanel2()
End If
I have two images that toggle visibility for the panels. I have
EnabledViewState = True for both panels. But when I click on the images they
both lose all their controls. Or at least I cant see them. What am I doing
wrong? Also, I want it to retain the values in the text boxes when they are
toggled.
Thanks,
Doug