I'm attempting to do some custom validation (which should be REALLY easy, but apparently is not). I cannot use a column-level validation since I need to reference mulitple columns and I cannot do the List-level validation since I need to do multiple
tests and the validation for the entire List only handles one test.
So I thought I'd try to capture the "ing" events for the list (Adding, Updating) and see if the old aspx standby of "e.cancel", etc. would work. From what I found it should, sort of. I've seen blogs that say I can do the following (My actual
public override void ItemUpdating(SPItemEventProperties properties)
DateTime sd = Convert.ToDateTime(properties.AfterProperties["StartDate"].ToString());
DateTime ed = Convert.ToDateTime(properties.AfterProperties["_EndDate"].ToString());
if (sd.Date >= ed.Date)
View Complete Post