export to pdf

6 posts, 0 answers
  1. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 11 Sep 2012 Link to this post

    Hi!

    I need explanation on how to export ui to pdf file in silverlight.
    In example from the internt that I have tried I had a exception in the line of RadDocument document = new RadDocument();
    and the error that was showen is : "Could not load file or assembly..".

    Best Regards,
    Tamara.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Sep 2012 Link to this post

    Hello Tamara,

     Have you referenced all the assemblies you need in order to use the RadDocument? What is the full message of the error?

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 11 Sep 2012 Link to this post

    I'm not sure, I used for it the telerik.windows.documents.model, which other usings should i refer?
    and the full error is:
    "Could not load file or assembly 'system.windows.Data, version=2.0.5.0, culture=neutral, PublicKeyToken=31bf3856ad364e35'
    or one of its dependencies"
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Sep 2012 Link to this post

    Hi,

     It seems that you are missing a reference to the 'System.windows.Data'.

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 11 Sep 2012 Link to this post

    Hi,

    I added this reference and it still has this exception with the same error.
    Can it be other assembly ref. that brings the same error?

    Best Regards,
    Tamara.

  7. Tamara
    Tamara avatar
    11 posts
    Member since:
    Sep 2012

    Posted 11 Sep 2012 Link to this post

    I finally Cleared the reference and added it again and the problem solved.

    thank you for the help,
    Tamara.
Back to Top
DevCraft banner