Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

How to display confirmation message in SPItemEventReceivers

$
0
0

Is there a way to display confirmation message in ItemAdding event?
I would like to display confirmation message and based on user input proceed with the other steps.

public override void ItemAdding(SPItemEventProperties properties)
{
  // Display confirmation message
  if(OKClicked)
  {
 // Do something
  }
  else
  {
  // Cancel Operation
  }
}

Thanks in advance,

dhijit


Viewing all articles
Browse latest Browse all 11508

Trending Articles



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