Copied to clipboard

Flag this post as spam?

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


  • greengiant83 88 posts 109 karma points
    May 17, 2011 @ 23:07
    greengiant83
    0

    How to get a reference to the current document from datatype

    Is there a way to get a reference to the current document from the datatype (more specifically a IUsercontrolDataEditor)?

    Document doc = new Document(Request["id"].ToInt());

    Gives you the last saved version of the document, which is no good if you trying to validate the document

Please Sign in or register to post replies

Write your reply to:

Draft