L
lb
Hello,
I am trying to use a radiobuttonlist with the new multiview control. Am
having trouble understanding how to build the radiobuttonlsit just one time,
and not many times.
In my first view, I select from a list of items, then select "next". Of
course, this causes a postback, and displays the next view.
On this second view, I want to build a radiobuttonlist based on the
selection from the first view. This works fine...UNTIL, I go back to the
first view, change the inistial selection, and then proceed to view 2.
Now my rbl gets built again, BUT, the first items added to the rbl are
there, as well as the second group.
If I surround the code that builds the radio button with if (! IsPostBack),
then the list will not build, because the list is contained in view2...going
from view 1 to 2 causes a postback.
Is there a way to build this raiobutton list one time, based on the
selection from view 1?
Hope this makes sense...thanks,
Lynn
I am trying to use a radiobuttonlist with the new multiview control. Am
having trouble understanding how to build the radiobuttonlsit just one time,
and not many times.
In my first view, I select from a list of items, then select "next". Of
course, this causes a postback, and displays the next view.
On this second view, I want to build a radiobuttonlist based on the
selection from the first view. This works fine...UNTIL, I go back to the
first view, change the inistial selection, and then proceed to view 2.
Now my rbl gets built again, BUT, the first items added to the rbl are
there, as well as the second group.
If I surround the code that builds the radio button with if (! IsPostBack),
then the list will not build, because the list is contained in view2...going
from view 1 to 2 causes a postback.
Is there a way to build this raiobutton list one time, based on the
selection from view 1?
Hope this makes sense...thanks,
Lynn