Silverlight HtmlPage.Window.Invoke open document in IE7

Posted on 2009-04-27
Last Modified: 2013-11-12
I need to open a document from a silverlight application.
I have tried to use:

HtmlPage.Window.Invoke("open", new object[] { "http://localhost/site/mydocument.doc });

This approach works fine if I use Mozilla.  However, in IE 7 a new window opens but closes quickly.  Is there anyway to make this work in IE7?
Question by:edwardui
    1 Comment

    Accepted Solution

    Works in IE if you use:

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now