Also, and im no exception catching expert, it seems that your try catch blocks are a bit general.
This could result in exceptions being swallowed (even though they are logged) and then the program can continue in an unknown state.
This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Hi All I am creating a Datagrid on the fly, which works fine, added a edit,cancel update command field as a template field.
However wen I click on Update nothin happens, currently it isn't connected to the database I just want it to change the text of a button so I know the update works.
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.
All was workin fine b4 I added the Update Panel and Content Template.
In my custom grid View control I cannot raise the Row Updated event.Sorry i know i'm posting a lot of comments on my own question.