Home All Groups Group Topic Archive Search About
Author
11 Aug 2006 11:21 PM
Seema Multani
I have two a user controls in which I have two buttons "btnAdd" and
"btnRemove".  I have a multiview and I have two views in that multiview
named"View1" and "View2".  I want that when I click on "btnAdd' then show
"View1" and when click on "btnRemove" then show "View2" depending on
postback and not postback.  I want to use viewstate property.  I don't know
how to do that.

Author
12 Aug 2006 4:44 AM
Cor Ligthert [MVP]
Seema,

The easy use of what you ask is as I understand you well just hidding your
control if you don't want to show it.

Cor

Show quoteHide quote
"Seema Multani" <se***@hotmail.com> schreef in bericht
news:%23PPrnzZvGHA.2120@TK2MSFTNGP03.phx.gbl...
>I have two a user controls in which I have two buttons "btnAdd" and
>"btnRemove".  I have a multiview and I have two views in that multiview
>named"View1" and "View2".  I want that when I click on "btnAdd' then show
>"View1" and when click on "btnRemove" then show "View2" depending on
>postback and not postback.  I want to use viewstate property.  I don't know
>how to do that.
>