pdf file loading slow on server

4 posts, 0 answers
  1. Neeraj
    Neeraj avatar
    3 posts
    Member since:
    Oct 2013

    Posted 14 Oct 2013 Link to this post

    Hie,
    i had written a small code to view pdf file using radpdfviewer and calling the aspx file on server via IIS..
    but the problem is, it taking too much time to load on server..
    can its downloading pdf file first then showing pdf?? 
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 17 Oct 2013 Link to this post

    Hi,

    RadPdfViewer can work with both stream and Uri. That said you can try downloading the document on the client side and create a DocumentSource from it.

    Regards,
    Kammen
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Neeraj
    Neeraj avatar
    3 posts
    Member since:
    Oct 2013

    Posted 18 Oct 2013 Link to this post

    Thanks for your instant reply...
    Can you give example for this statement "try downloading the document on the client side and create a DocumentSource from it"....????
  5. Alexander
    Admin
    Alexander avatar
    41 posts

    Posted 22 Oct 2013 Link to this post

    H Neeraj,

    Setting the DocumentSource property in the latest official version of RadPdfViewer Q3 2013 will do this automatically for you. I would suggest downloading and using the latest version of the controls in your project.

    Regards,
    Alexander
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top