Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Popup window in silverlight

Popup window in silverlight

Scheduled Pinned Locked Moved WPF
wpfxmlhelp
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sumit7034
    wrote on last edited by
    #1

    Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance

    P B 2 Replies Last reply
    0
    • S sumit7034

      Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You have to open the second window in a dialog, see here[^] for details.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys

      S 1 Reply Last reply
      0
      • P Pete OHanlon

        You have to open the second window in a dialog, see here[^] for details.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys

        S Offline
        S Offline
        sumit7034
        wrote on last edited by
        #3

        Thanks for the reply But still the second window is opened in the same page. Is there any way to open it in a other window?

        M 1 Reply Last reply
        0
        • S sumit7034

          Thanks for the reply But still the second window is opened in the same page. Is there any way to open it in a other window?

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          There's no "other window"s in Silverlight. Windows are controlled by the browser, so if you want a new window you could use something like HtmlPage.PopupWindow[^] or HtmlWindow.Navigate[^]

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          1 Reply Last reply
          0
          • S sumit7034

            Hi I have two xaml file in my project Page.xaml and page2.xaml. I want when user click on button from page.xaml then new popup window will be open for page2.xml. I have searched some examples but they open it in a same window. Please Help Thanks in advance

            B Offline
            B Offline
            Braulio Dez
            wrote on last edited by
            #5

            The popups that you can create are on the same page (like AJAX Modal Dialogs). You can open a popup calling from Silverlight a javascript function, but they will be an HTML popup (altough you can initialize inside another XAP application). HTH Braulio

            /// -------------------------      Braulio Díez      DBSchemaEditor.com      Free Silverlight based DB Schema Modeling Tool /// -------------------------

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups