Posted on 2009-04-11
I've got a bound GridView with a checkbox template field next to a disabled "quantity" textbox. I want to enable the textbox when I click on the checkbox. For now, I'm setting "Autopostback" to true on the checkbox. When I try to get the selected index row of the grid to ensble the appropriate textbox, the value is -1.
The checkbox is mapped in the selectedIndexChanged event of the grid, andit goes there, but I don't have a row value. Why is this?