Displaying Validated EDI File

Index

    Displaying Validated EDI File

    One very important use of the EDIDocumentViewer is to display a validated EDI document. This allows both developers and users alike to see their EDI documents in a visual tree. They can now expand and collapse and drill down into their EDI documents.

    Example

    // Setup up your edivalidator object and configurations here
    ediValidator.LoadValidatedData = true;
    ediValidator.Validate();
     
    // Load the data into the EDIDocumentViewer.
    ediDocumentViewer1.LoadDocument(ediValidator.EDILightWeightDocument);
    Your EDILightWeightDocument will now be displayed in a visual tree. You can now expand and collapse loops, segments and composite elements and see the data in your EDI document.
    in EDI Document Viewer
    Did this article answer your question?