469,609 Members | 1,437 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

ViewState Problem with CheckBoxes in a DataGrid

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.
Nov 17 '05 #1
1 1913
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

"kannadasan" <ka**********@hotmail.com> wrote in message
news:09****************************@phx.gbl...
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.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by John Kirksey | last post: by
10 posts views Thread by neo | last post: by
1 post views Thread by Paul | last post: by
2 posts views Thread by Mortar | last post: by
6 posts views Thread by sonic | last post: by
9 posts views Thread by Alexander van Doormalen | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.