I have created a sharepoint item updating event receiver for a custom list. The event receiver checks certain condition and block the user from saving the item if the condition fails. TO display the warning, i have used
properties.Status = SPEventReceiverStatus.CancelWithError; properties.errormessage= "error";
Now it shows error message below the form in red font. I want to change the formatting of the text, and want to show the error message in bold characters. How can this be achieved, any help on this will be appreciated.