Asp net gridview rowupdating event not firing

All was workin fine b4 I added the Update Panel and Content Template.The Script Manager is in the Master Page Please help me.... Yes, I did put the breakpoint at the Row Updating line (and not in the function).You have to make sure that you aren't setting your Grid View's data when it is not postback.A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions.

asp net gridview rowupdating event not firing-57asp net gridview rowupdating event not firing-82asp net gridview rowupdating event not firing-73asp net gridview rowupdating event not firing-1

To cancel the update operation, set the collections, if necessary, before the values are passed to the data source. On Row Deleting - can call registered event handlers" I couldnt figure out how to continue this thread, but the issues in it are related so i'm including it as a reference.In my custom grid View control I cannot raise the Row Updated event.I removed everything I did with View State and edited the original post again with what I currently got. I cannot sort the Grid View because I'm trying to sort with Your code doesn't have Data Source ID. Hi All, In above written code only EDIT event is being fired & that is only once after that UPDATE, CANCEL no event is being fired. All I want to do is change the Grid Row Color on the basis of the value entered in QTY field.

Leave a Reply