Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Event receiver on item with drag and drop

$
0
0
I'm writing an event receiver on a document library.
My issue is event itemupdating ou itemupdated are not fire when i drag and drop a document.
if i log my event it only passes in itemadding and itemadded.

In classic upload it goes to itemadding and itemadded and at the next window when you enter the meta value.

Are there a way to pass in itemupd... when i drag and drop?

If i set a meta in itemadded with

    
properties.listItem["meta"] = "test";
    properties.ListItem.Update();



It works with drag and dropped element but with classic update i have an exception because i update the item before saving meta (second form)

I'm writing an event receiver on a document library. My issue is event itemupdating ou itemupdated are not fire when i drag and drop a document. if i log my event it only passes in itemadding and itemadded.

In classic upload it goes to itemadding and itemadded and at the next window when you enter the meta value.

Are there a way to pass in itemupd... when i drag and drop?

If i set a meta in itemadded with

properties.listItem["meta"]="test";
properties.ListItem.Update();

It works with drag and dropped element but with classic update i have an exception because i update the item before saving meta (second form)


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>