/ Published in: C#
only works in async. events. Ending in "ing"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// setting the current context MUST be done in the constructor and is only valid for Synchronous events private HttpContext currentHttpContext = null; public EventReceiver1(): base() { currentHttpContext = HttpContext.Current; } // this in your actual event function string MyValue = currentHttpContext.Request.QueryString["Parameter"];