Download a file from server or open a web address in a pop-up window from Silverlight client

You can use HyperlinkButton control to do this. Example-

<HyperlinkButton Name="hplTemplete" Content="Open Google in New Window"
NavigateUri="http://www.google.com" TargetName="_blank" />

In case you need to set its NavigateUri from code behind, use following code-

hplTemplete.NavigateUri =new  Uri("http://www.google.com");
This entry was posted in C#, Knowledge Sharing, Silverlight. Bookmark the permalink.

4 Responses to Download a file from server or open a web address in a pop-up window from Silverlight client

  1. This really is actually my pretty first comment any weblog anywhere, Just joined the community, These are rather great tips for a first timer like myself. Thank You for the tips.

  2. nice post! am looking forward to read your future post, great weekend ahead!

  3. I was wondering if this really is accurate, i’ve to alter my point of view. Due to the fact here in Germany, there are plenty of other opinions in this theory. Thanks a great deal for this brainer!

  4. Nice post. I used to be checking continuously this weblog and I’m impressed! Very useful information specifically the remaining section :) I handle such information a lot. I was seeking this certain information for a long time. Thank you and best of luck.

Leave a Reply