SharePoint Dragons

Nikander & Margriet on SharePoint

Access the querystring in an ItemAdded event receiver

You can’t access the HttpContext within an ItemAdded event receiver, which makes sense, as there is none anymore. If you want to access the querystring in it, you can retrieve it in the ItemAdding event and pass it to the ItemAdded event via the HttpRuntime cache: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/421a6a2b-22ce-4aa8-8d14-944493eddc6c

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: