checkbox list and radion button list

P

puja

hi all,

I have a form which has checkbox list which has items as below

1) Input 1
2) Input 2
3) Input 3
4) Input 4
5) Input 5

Now if user selects Input2 and Input5 and goes to next page and then comes
back to this page, I want to retain the selected Item that he selected
before. i.e Checkboxlist should display Input 2 and Input 5 as checked and
now if wants to change his selection to Input 1 and Input 5, he can change
his selection and proceed to next page.

My problem is I don't know how to retain the selection that he made
previously. i.e how do i store items that he selected at the first time when
he visited the page.

Same problem with RadioButtonList. :(

Pls help.......
 
E

Eliyahu Goldin

Apparently, you need to persist some state information that will allow you
to set the checkbox values. You may want to store it in a database, or in
session variables. It is hard to give a more specific advice without knowing
the details.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top