Detailsview itemupdating event not firing

by  |  01-Jan-2020 08:32

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.

Simple Form View with manual databinding for test purposes.

I have a Details View control and when it get's updated i send an email containing the new details. To String(); This works fine apart from when one of the fields i am refering to is blank. It's not so much code duplication i am tring to avoid as having to do a load of comparisons to see if a particular value is set or not. New Values("Some Field") to a function/method is that if Some Field is set to null in the Details Views control then rather than there being e.

I have used the Item Updating event handler for the Details View and i am populating the Mail Message. New Values("Some Field") with a value of null, it simply does not exist. "Flinky Wisty Pomm" wrote: If you just want to avoid duplicated code, why not move it into another method?

For example, for COMPUTING category there will be NOTEBOOKS DESKTOPS etc.

There will be a image for CATEGORIES and linkbuttons with Subcategories.

I'm just curious how or where I should set my view back to readonly?

Community Discussion