Detailsview itemupdating event not firing Long piss chatroom

28 Dec

event is raised when an Update button within a Details View control is clicked, but before the update operation.

You can customize the user interface of the Details View control to a large extent.So here's an extract of my code Grid View In the page: Private Sub Setup Data Source() 'this is the sqldatasource I'm using for the detailsview Sql Data Source2. Connection String = Assist.connection String Sql Data Source2. The first conclusion I can come to at the moment is: your ER fails in the case it's fired from the code. One thing I've seen quite often: you may assume, in the ER code, that there's a Web context (e.g. but there's no Web context if your Update code is called from, let's say, a console app (or a job, or at speficic steps of a workflow...). public override void Item Added(SPItem Event Properties properties) Actually i have an Event Receiver in list say "List1" and in that i have two events Item Added and Item Updated. As my Event Receiver's code is on the list so it would affect to the list item and not on the document library's item.