Rowupdating code


12-Nov-2020 19:10

When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. 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. Yes, I did put the breakpoint at the Row Updating line (and not in the function).

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.

From what was said in the other comment, should I be calling the Build Grid from somewhere other than Page_Load()?

What happen if you leave the Bind Grid(); at the end but call Build Grid(); before finding the ddl?

rowupdating code-75

Ukrainian sexy chat free

If I call the Bind Grid() at the start of Row Updating then the Drop Down List is available, but the selected Value is lost.

So, you could use it in the javascript onchange event.

I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. 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.

I would recommend trying this out and starting a new thread in the .

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.

I have a break on the Sub statement for the Row Updating handler ... The Edit and Cancel buttons fire the Row Command event, however, the Update button does not. No breakpoint was triggered when I hit the Update button. I truly appreciate all the suggestions you've given.



A third major difference is CC screens every new member and CM does not.… continue reading »


Read more

When I found Meet Bang, I wasn't expecting much, but within 15 minutes of signing up, a girl messaged me back.… continue reading »


Read more