lapucca
asked on
How to change a gridview cell's value when another cell's checkbox is checked?
One of my gridview column is bool data and bound as Checkbox column. is there an event that fires when user check the checkbox in the edit mode? There is a date column that I would like to change the date when user checks the checkbox. Any way I can do this? Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. all.
ASKER
Since the checkbox is created by gridview, I don't iknow it's name. I clicked on this column's creating code in aspx, select the properties tag and I don't see the Event lightning icon where I can select the Changed event.
Hi Mrunal,
the checkbox column when created in aspx, there is no ID attribute and Intellisense doesn't provide javascript onchange as an option so I wonder maybe because it's inside the gridview control, I can't use javascript on it.
Attached is my gridview control's aspx code snipet.
grid.txt