S
Scott
Hello all and thanks in advance for any help you may be able to offer
me.
I am quite new to asp.net 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!!!
Thanks,
Scott
me.
I am quite new to asp.net 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!!!
Thanks,
Scott