Jeaf Gilbert
Jeaf Gilbert

Reputation: 11991

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?

Can Silverlight HyperlinkButton forced to open page with Internet Explorer?

Upvotes: 1

Views: 935

Answers (3)

Denis
Denis

Reputation: 4115

With HyperLinkButton you can't. If your OOB app is in full trust mode you can use automation object InternetExplorer.Application to open and control IE.

Upvotes: 1

Wingman2
Wingman2

Reputation: 7

If you have the right permissions in silverlight you can read and wright to disk. So yes you can.

Upvotes: -2

eee
eee

Reputation: 1053

If someone has defaulted to one browser (let say Chrome), you cannot ask the current browser (using JavaScript) to open the link to a specific browser (i.e. you want Internet Explorer instead of Chrome). I am not sure about Flash or Silverlight's ability to do what you want.

I have found a technique but it is specific to VBScript inside Excel and it may need the UA agent check to make sure it works correctly for a target environment if you want to adapt the similar code in Silverlight:

http://www.mofeel.net/87-microsoft-public-excel/30085.aspx

Upvotes: 2

Related Questions