In my case this was happening because I was binding to a List of custom objects.
Note A common mistake that a lot of people do is that they perform a databind each and every-time the Page_Load method is called.
fid=1037 This links tells me that oncheckboxchecked event doesnt work too bc the the row of the checkbox that was checked, cannot be found...
A friend asked me to help him out on this and frankly it has me completely stumped as well.
ck1 _ ck2_ ck3_ ck4_ ck5_ these scenarios should take place depending on what checkbox ON THAT ROW ensue: the first checkbox is checked: ck1 X ck2_ ck3_ ck4_ ck5_ the 2nd checkbox is checked: ck1 X ck2X ck3_ ck4_ ck5_ the 3rd checkbox is checked: ck1 X ck2X ck3X ck4_ ck5_ the 4th checkbox is checked: ck1 X ck2X ck3X ck4X ck5_ the 5th checkbox is checked: ck1 X ck2X ck3X ck4X ck5X --- below is the code I have so far on Row Data Bound however it needs help to fulfill the above specs...
When using forms authentication, an authentication ticket is used as an identity token.
This will lead to problems like "Grid View does not show updated values", "Grid View looses values changed by user". In your Page_load, this is typically only inside a block where you check to make sure that Page_Load is not being called during a post-back call.
event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
The problem is when I click Update the value is always saved back to the database as a 0 (Because that is the database default when no value is supplied) Please help! But I still have the problem that when updating the Value from the checkbox does not seem to be getting through. I have checked my Update method associated with the Grid View and it seems to be fine. When dynamically binding to the Grid View, use the following code in the Row Editing event: Grid View gv = (Grid View)sender; gv. When the Update button is clicked the value of the checkbox is used to set the hidden field value that is send back to the database.
I have tried to intercept the updating value from the Row Updating event but the checkbox value is not contained in the e. After searching long and hard I found a great article that solved my issue.