ViewState Problem with CheckBoxes in a DataGrid

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.
 
P

PJ

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
 

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