Here’s a great blog detailing Duet…
Monthly Archives: April 2011
How to add Cascading Drop downs
How to modify the infopath form of a document library
In SharePoint 2010 you can add your own custom error page instead of using the OOTB error page. Just add a new application page to your event receiver project use the code below where you want to show the error…
//The event is cancelled, but a URL is provided that redirects to a custom error message page, or to any URL.
properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl;
properties.RedirectUrl = “/_layouts/myCustomErrorPage.aspx”;
At some point while working with event handlers you’ll have some config settings that will need to be stored, and we all know it’s not acceptable to hard code them. I like store them in the web.config, but this blog that breaks downs the all the options for you.