I am creeting an event reciever that ensure that my list has unique items based on two columns. If I find a duplicate I wish to do one of the following:
display a dialog which states a duplicate has been found, in that dialog display both items and a text box next to each so that the user can edit whichever one they deem should change.
send user back to edit form with the appropriate fields highlighted and an error message stating a duplicate has been found.
Currently the receiver is displaying the error message in a new window which is not useful and quite "ugly"
0x81020089The Sequence Number you have entered already exists for an item in this rulebook Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: 0x81020089The Sequence Number you have entered already exists for an item in this rulebook
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.