locked
Redirect .aspx page from silverlight RRS feed

  • Question

  • Hi,

     How to redirect the aspx page from silverlight on button click.

    Thursday, October 8, 2009 10:14 AM

Answers

  • You can do it 2 ways.  Using the silverlgiht html bridge:

    string url = "http://www.silverlight.net";
    HtmlPage.Window.Navigate(new Uri(url, UriKind.Absolute), "_blank");

    Or fire a java script:

    HtmlPage.Window.Eval("window.open('http://www.silverlight.net', '_blank')");

     Using a target of _blank opens a new browser instance, to do a redirect, set the target to _self.

     

    Thursday, October 8, 2009 10:23 AM

All replies

  • You can do it 2 ways.  Using the silverlgiht html bridge:

    string url = "http://www.silverlight.net";
    HtmlPage.Window.Navigate(new Uri(url, UriKind.Absolute), "_blank");

    Or fire a java script:

    HtmlPage.Window.Eval("window.open('http://www.silverlight.net', '_blank')");

     Using a target of _blank opens a new browser instance, to do a redirect, set the target to _self.

     

    Thursday, October 8, 2009 10:23 AM
  • System.Windows.Browser.HtmlPage.Navigate("url");

    You can use any type of Uri (relative or absolute). Wire that into the click event or command.

    Thursday, October 8, 2009 10:25 AM
  • http://ekykeyzainfo7.blogspot.com/2014/03/alfamart-official-partner-merchandise.html


    Tuesday, March 4, 2014 4:27 PM
  • please visit my blog, 
    when consented to give click the +1 button 
    and i thank you that you have visited my blog .. :)

    http://ekykeyzainfo7.blogspot.com/2014/03/alfamart-official-partner-merchandise.html


    Tuesday, March 4, 2014 4:27 PM
  • grosir-onlinee.com pusat Grosir Online obat-obatan herbal kosmetik dan alat kecantikan alami. Grosir Online Obat herbal Alami murah Paten ...
     DIANTARANYA :
    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/02/cream-pemutih-badan-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-pemutih-gigi-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-cream-pemutih-wajah-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-hernia-celana-hernia-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-ambien-atau-wasir-herbal-alami.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-cream-pembesar-pantat-bokong-alami.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/pelangsing-badan-fruit-plant.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/cream-pelangsing-badan-alami-perut-paha.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/obat-perapat-untuk-wanita.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/09/obat-rambut-rontok.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/vakuum-untuk-mengencangkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cream-untuk-mengencangkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cara-mengecilkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cara-menghilangkan-bulu.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-selulit.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-jerawat.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-selakangan-hitam.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pemutih-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/penghilang-bekas-luka.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-diabetes.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/penambah-tinggi-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pelangsing-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-mata-plus.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/0bat-gemuk-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pelangsing-badan-pelangsing-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/pelangsing-super-pelangsing-lida.htmlgrosir-onlinee.com pusat Grosir Online obat-obatan herbal kosmetik dan alat kecantikan alami. Grosir Online Obat herbal Alami murah Paten ...
     DIANTARANYA :
    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/02/cream-pemutih-badan-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-pemutih-gigi-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-cream-pemutih-wajah-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-hernia-celana-hernia-alami-herbal.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-ambien-atau-wasir-herbal-alami.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2014/01/obat-cream-pembesar-pantat-bokong-alami.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/pelangsing-badan-fruit-plant.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/cream-pelangsing-badan-alami-perut-paha.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/obat-perapat-untuk-wanita.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/09/obat-rambut-rontok.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/vakuum-untuk-mengencangkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cream-untuk-mengencangkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cara-mengecilkan-payudara.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/cara-menghilangkan-bulu.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-selulit.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-jerawat.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-selakangan-hitam.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pemutih-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/penghilang-bekas-luka.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-untuk-diabetes.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/penambah-tinggi-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pelangsing-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-mata-plus.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/0bat-gemuk-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/obat-pelangsing-badan-pelangsing-badan.html

    inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/06/pelangsing-super-pelangsing-lida.html
    Thursday, April 10, 2014 6:46 AM
  • Salam dahsyat. Good Informastion. Thanks for all.


    Sunday, December 20, 2015 7:42 PM
  • inurl:redirect.aspx?url=http://www.grosir-onlinee.com/2013/12/pelangsing-badan-fruit-plant.html
    Wednesday, August 15, 2018 5:40 PM