Question : SPContext.Current is returning null in the "SPItemEventReceiver" event handler.

Hi Experts,

SPContext.Current is returning null in the "SPItemEventReceiver" event handler.

Can you please suggest me. Thank you

P.L. RAVI KANTH

Answer : SPContext.Current is returning null in the "SPItemEventReceiver" event handler.

Code sample didn't attach just now, so here it is.

using(SPWeb web = properties.OpenWeb()) {

}
Random Solutions  
 
programming4us programming4us