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

Unable to show Message Info in Item Added Event Reciver

$
0
0

Hi All,

           I had written snippet of code to show message info based on condition in Item Added Event Reciver.I am unable to redirect to the page can any one help me why it is not redirecting or is there any other better way to do even I sued SPUrlUtility too for redirecting ,But I don't find any solution

if (h > eventlimit)
  {
   myitem.Delete();
   properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl;
   properties.RedirectUrl = "/_layouts/CalendarTest/Cerrors.aspx";
   }


Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .



Viewing all articles
Browse latest Browse all 11571

Trending Articles