Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • andy_rose 91 posts 117 karma points
    Jul 26, 2011 @ 11:29
    andy_rose
    0

    How do I generate a Save error with custom datatypes?

    I am creating a custom datatype using the usercontrol wrapper pattern to store ids that need to be validated against an external service before being saved. If the validation fails then they shouldn't be saved and a message should appear. Is it possible to cancel the save from within a custom datatype's codebehind during the postback caused by saving the document? If not is there a standard way to alert the user that the data entered for this particular datatype was not saved due to validation issues?

Please Sign in or register to post replies

Write your reply to:

Draft