By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,356 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,356 IT Pros & Developers. It's quick & easy.

Datagrid problems using 1.1, sorting, displaying check boxes

P: n/a
Hello all and thanks in advance for any help you may be able to offer

I am quite new to and am trying to work with a datagrid but am
having some problems with it.

Here's the problem...

My datagrid displays 2 columns of checkboxes and allows the user to
select the check boxes and sort the datagrid. My first problem, if
the user checks a check box and then sorts the grid, the grid appears
to sort properly BUT I loose the checkbox that was checked. The grid
is wired to a dataset/datatable.

What normally should be done in this situation? Postback event when a
checkbox is selected update the dataset and then repopulate the
datagrid with the updated dataset?... I was thinking I would like the
grid to just hold onto the check box values during the sorting and
then when the user moves to the next screen read through each row in
the datagrid and process the checked boxes accordingly...

Any ideas and code examples would be GREATLY appreciated!!!


Aug 21 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.