Formview itemupdating example
Form View1 talks to my Opportunity table and has an Item Template and an Edit Item Template.
Form View2 talks to my Activities table and has an Item Template, Insert Item Template and an Edit Item Template.
This allows you to provide an event-handling method that performs a custom routine, such as checking the results of an update operation, whenever this event occurs.
A Form View Updated Event Args object is passed to the event-handling method, which allows you to determine the number of records affected and any exceptions that might have occurred.
Form View2 talks to my Activities table | and has an Item Template, Insert Item Template and an Edit Item Template.
This allows you to provide an event handler that performs a custom routine, such as canceling the update operation, whenever this event occurs.
I've been over the page a bunch of times and I can't see anything wrong jumping out at me. I will try to refactor to access from the Northwind database, and I'm going to attempt to rebuild the page as well. "Steven Cheng[MSFT]" wrote: Regarding on the Form View updating problem, I think it is likely a page specific issue.
From you description, you've checked the Form View's Item Updating event and found that the Form View Event Args dosn't contains the updated values in the new values colleciton ,yes?
(This posting is provided "AS IS", with no warranties, and confers no rights.) -------------------- | Thread-Topic: Form View Item Updated: New Values array not getting values on up | thread-index: Ac Xfvk CF0pgq NHo8RAOX3s Qw zf UIw== | X-WBNR-Posting-Host: 188.8.131.52 | From: "=? I would also think that the problem is page-specific, however I | can't see any real difference in the page that works and the page that | doesn't, except for the fact that the page that works only has one formview | and that's it.
That Form View is nearly identical to one on the page that | doesn't work; in fact, I copied and pasted the markup to keep the formatting | correct.