This is a migrated thread and some comments may be shown as answers.

.Source = MemoryStream?

1 Answer 80 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Zeeshan Muhammad
Top achievements
Rank 1
Zeeshan Muhammad asked on 21 May 2010, 04:23 AM
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?

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 26 May 2010, 05:12 PM
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).

Greetings,
Miroslav
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.
Tags
HTMLPlaceHolder
Asked by
Zeeshan Muhammad
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or