I have gridview with a templatefield and a checkbox within that. What I'm trying to accomplish is allow the user to click on the row on any cell to select that row, and to do something OTHER than what would happen when they check.
(checking the row will bind a child gridview and check/uncheck all the children rows as well as calculate a running total. clicking the row should just bind the associated child gridview without changing any checked states or calculating a total.)
What's happening is that when they click on the row, it binds the child and works fine. But when they click a checkbox, it seems that postback occurs twice: it goes to my checkbox routine, then the rowcommand, and then back to the checkbox routine. How do I trap this??
Thanks for any input!
(checking the row will bind a child gridview and check/uncheck all the children rows as well as calculate a running total. clicking the row should just bind the associated child gridview without changing any checked states or calculating a total.)
What's happening is that when they click on the row, it binds the child and works fine. But when they click a checkbox, it seems that postback occurs twice: it goes to my checkbox routine, then the rowcommand, and then back to the checkbox routine. How do I trap this??
Thanks for any input!