Detailsview itemupdating event not firing
For example, for COMPUTING category there will be NOTEBOOKS DESKTOPS etc.There will be a image for CATEGORIES and linkbuttons with Subcategories.
Also, Form View will not return to Default Mode of Read Only. That'll at least let you know if the event is being called or not. Add some default text to the html for the label stoopid noob tricks I know, but everynow and then if its not that it isn't showing up, its just that I can't see where it's located, text ended up in white, gridview overlapped it or other lil noob stunts.
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?
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source. For more information about handling events, see NIB: Consuming Events.