.Source = MemoryStream?

2 posts, 0 answers
  1. Zeeshan Muhammad
    Zeeshan Muhammad avatar
    1 posts
    Member since:
    Mar 2010

    Posted 20 May 2010 Link to this post

    In code, i read a PDF, modify its contents and display it to the user.

    Is it possible to send a memorystream to the htmlplaceholder rather than a physical file?
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 26 May 2010 Link to this post

    Hello Zeeshan Muhammad,

    Unfortunately this is not possible out-of-the-box.

    The HtmlPlaceholder uses an IFrame displayed on top of the Silverlight application and it has all its limitations. The memory stream can be transferred to some JavaScript code that will execute it in the IFrame but I am not aware of a way to display a pdf from memory (byte array).

    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top