Hi,
I use Silverlight and I'm trying to get some data to the user side. I can easily display PDF file with an <embed>
tag in the browser.
However, I also have to be able to save files form the server. I tried the SaveFileDialog
from Silvelright but it doesn't allow setting the file name (which is an issue).
I tried setting a hidden <iframe>
source to the URL from the server but that triggers a security warning and it's not good either (there would be too many clueless users calling because it doesn't work).
I tried calling window.open
to trigger a new popup set to the URL. That works OK but again there's a security warning.
Is it possible to get rid of that security message? I know it's possible in Javascript.
An exampel is on the site
http://livetecs.com
(go to the live demo, then project manager and open a report in a new window: no security warning!)
How do they achieve that behavior?
If there's any other way to get my reports saved Silverlight I'd be very interested to hear about them.
EDIT: The warning I'm talking about is the Pop-up blocked. To see this pop-up or additional options click here..
banner appearing on top of the page.
Cheers.