Itemupdating which wasn

Jono One thing i didn't mention is that I didn't set the Data Source on the Details View in the aspx page.It is set in the Page_Load because it is retrieved from from data objects (NHibernate).If you do the example without the Mode Changing event you get this error when you click the Edit button: "The Details View 'Details View1' fired event Mode Changing which wasn't handled." You don't need much ASP.NET: You will now have a detailsview which shows 2 rows, one for Name and the other for Publisher.

That happened to me as well whenever I changed the Data Source or Data Source ID in Page Load.Even when it does change mode, regardless of which control I hit, the program will randomly decide if it is going to go into edit mode or update mode.So I might hit update and get the insert mode, or vice versa.Because then I have to code those extra features that the Grid View and Details View have that the repeater does not.If I work it out by myself then I'll come back here and let you know so you know what to do in the future if you decide to use a Details View for something.

Leave a Reply