html checkboxes in datagrid

M

Mortar

i have a datagrid with a column of html checkboxes which are created
dynamically. The id/name of the checkboxes comes from a value in the
database.

on a postback, i would like to get all the checked checkboxes, in the
same way old asp would.
i.e. for each control in Request.Form...

i am doing it this way because the datagrid will contain too much info
to maintain viewstate; i don't want to use session variables to hold
data key info; i don't want to re-create server checkboxes to get
whether they've been checked.

in any case, why doesn't matter. i would just like to know if someone
could provide me with loop code to get html checkbox names (which
have been checked obviously) which have been created dynamically in a
datagrid.
 
M

Mortar

nice article, but like i said in my original post, i don't want to
maintain viewstate on the datagrid like you have in your example,
because there will be too much data being maintained.
 

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

Top