Hi,
Httpcontext returning null values when I used in item adding event of document library.
I have a document set home page which has document set properties(by default) and one OOTB document library is placed in the same page.When user clicking on upload documents in the ribbon I need to read the document set properties.
when uploading the docs if I pass the Hardcoded item id of the document set I am getting the values of the document set in the item added event.
now the problem, i have the id in the query string if i want to read the query string value using httpcontext in the itemadding event and pass it to item added event using httpruntime it is throwing "object reference error" .
if any body has any solution/workaround how to read the context in the document library event receiver,please help me out.
Thanks ,G1