Gridview rowupdating not working software student forum college chat dating
If anybody has an answer for this strange problem, please mail me or reply to this post... the Update button had gone on strike and wasn't raising the Update events for sometime even when the application was in the Edit state. The application was in THE EDIT STATE but still NO UPDATE Events when UPDATE BUTTON WAS FIRED.
I just can't help pulling my hairs out and turning into a complete bald because of this strange problem....
I'm having a very hard time understand what would prevent your event from being fired.
But we (developers working on this project) need to build it this way for some reason that can't be explained here!!! coming back to the problem, by making the above mentioned change in the way grid view binding was done, the "Update" command button stopped sending the "Edit" events so also any other events it was supposed to fire!!! In my project to know the current mode of the application in which the user is working, we make use of an enumerator with 3 states - View, Edit and Delete.
- These internal user controls may either have or do not have the update panels. I know the above architecture is little screwed up and is also heavy for a web project.
I put a breakpoint on the Row Updating event handler and found that the event is not fired. I put a breakpoint on the Row Updating event handler and found that the event is not fired. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.
Right now, I have not written code for the Update event. Right now, I have not written code for the Update event. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires.Even the Row Command event is fired without any issues. Now the Update button raises the update event when the application NOT IN the View state automatically, which accidentally also happens to be the correct way of working for my user control!