ViewState Problem with CheckBoxes in a DataGrid

  • Thread starter Thread starter kannadasan
  • Start date Start date
K

kannadasan

Hi all

I am using Datagrid where i place checkboxes in one column
with some other columns.The purpose is, if i select the
checkboxes and clicks the submit buton Email has to go to
the selected Categories. The problem here is after
clicking submit button i found the checkboxes are not
unchecked (cleared) even though i put
EnableViewState="False".

Checkboxes has to be unchecked after mails being sent.

Thankx.
 
Are you setting enableviewstate on the checkboxes or the datagrid?

either way...
As you iterate through the categories ( or whatever you dataitem is ) to
find the selected items, set the checked property to false.

~PJ
 
Back
Top