Webdatagrid rowupdating event not firing Sexweth woman cam chat

Rated 4.91/5 based on 586 customer reviews

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.

NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.

It seems like the Java Script can get mangled otherwise.

But I think I can´t avoid to do this, because if I don't, the runtime created controls fade away.

Thanks to all you for answer, but the examples posted aren't my case.

The hash key is the key of corresponding column and the value is the new value to be set.I have a web application that shows a controls group based on a result set from a database.I don't know how many controls do I have to create and I don't know what kind of control will it be. I know that the problem is that I create the controls in the Page_Load.You should create your data source once (on the user's first visit) and store it into Session for later use, and only bind the Grid View to the data source when it is necessary to do so.I would recommend trying this out and starting a new thread in the .

Leave a Reply