Itemupdating e newvalues
To work around this, you will need to subscribe to the Item Updating event and extract the values yourself: I'm curious to know why the two-way databinding isn't functional for nested controls. In any case, your blog entry helped me solve my problem, so I wanted to say thanks!
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.
We're a friendly computing community, bustling with knowledgeable members to help solve your tech questions.
Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.
Net 2.0 framework, and I have a serious problem with the page I'm currently working on.
As far as I can tell, the problem is that the program is not passing updated information to the New Values array that you can access from the Item Updating event args. The code and markup looks fine to me, in fact I have a page with similar information on it that works fine. 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.
While there are other techniques you can use with Linq to SQL to avoid the issue above, the point of this post is to show how the Form View handles null values.
Old Values has all values of fields bound on template. Form View2 talks to my Activities table and has an Item Template, Insert Item Template and an Edit Item Template.In that case I rebing the Grid View So far so good.My last question is "How to hide the Formview at the end of the Item Updated event ? Maybe somehow i need to populate the New Values and Old Values myself?Hello, I am using a combination of a Grid View and a Form View to allow editing of a large table.