Let us see what happens when one deletes the list items. See
the example below. I have few task list items.
And see the code below.
execute the code and check recycle bin of the site.
You will not find these deleted list items.
Let's add three more items and this time select three items
and remove from the delete option from UI,
now go to the recycle bin and now you can see these three
entries.
let's add three more items.
Let's change code a little.
run the code and the go to recycle bin. There you go, now
you have the items in recycle bin which was deleted rather recycled
programmatically.
No comments:
Post a Comment