Home All Groups Group Topic Archive Search About
Author
24 Feb 2006 12:32 AM
gh
I am filling a datagrid at runtime with the values I want in the
columns.  In some of the rows I would like to have a checkbox in the
last column for the user to check.  Then when the user clicks the submit
button, I would like to be able to tell which check boxes were checked.
   I can get the last column with checkboxes, but they show for each row
I populate in the datagrid.  Is there a way to have the checkboxes
appear for certain rows only?

TIA

Author
24 Feb 2006 3:16 AM
Elton W
Hi GH,

You set checkbox's visible to false in datagrid_ItemDataBound event upon
condition.

HTH

Elton Wang

Show quoteHide quote
"gh" wrote:

> I am filling a datagrid at runtime with the values I want in the
> columns.  In some of the rows I would like to have a checkbox in the
> last column for the user to check.  Then when the user clicks the submit
> button, I would like to be able to tell which check boxes were checked.
>    I can get the last column with checkboxes, but they show for each row
> I populate in the datagrid.  Is there a way to have the checkboxes
> appear for certain rows only?
>
> TIA
>
>

Bookmark and Share

Post Thread options