Results 1 to 3 of 3

Thread: Nagivating from a aspx page to a silverlight page

  1. #1
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 07
    Location
    South Africa
    Posts
    780

    Nagivating from a aspx page to a silverlight page

    This is the price i pay when i mixed silverlight and aspx pages in my application.

    Good day guys, have some done this before ?


    I want to redirect to a xaml page from a aspx page. i am using response.redirect.

    Code:
      Response.Redirect("http://vuyswam/cc/Ecpos/Views/ConfirmationPages/ConfirmRegistration.xaml",false);
    Thanks

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 08
    Location
    WY
    Posts
    1,185

    Re: Nagivating from a aspx page to a silverlight page

    You need to host your .xap in an aspx page and redirect to that.

  3. #3
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 04
    Location
    The Granite City
    Posts
    21,738

    Re: Nagivating from a aspx page to a silverlight page

    Agreed.

    The xaml page is what is packaged up and placed into the XAP file, and it is the XAP file that is loaded onto the page. You are going to need to re-direct to the page hosting your XAP file, and then, within the load event of the main App.xaml page, you could inspect the query string, to decide what "page" within the XAP file that you want to display.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •