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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. WPF
  4. Navigation in Window

Navigation in Window

Scheduled Pinned Locked Moved WPF
7 Posts 3 Posters 1 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.
  • G Offline
    G Offline
    GomathiR
    wrote on last edited by
    #1

    Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(

    Gomathi R

    A P 2 Replies Last reply
    0
    • G GomathiR

      Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(

      Gomathi R

      A Offline
      A Offline
      ABitSmart
      wrote on last edited by
      #2

      GomathiR wrote:

      Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window

      What do you mean ? What page are you talking about ? Have you taken a look at the Navigation service feature WPF provides ? See here Link[^] I have not used it but it seems to be for both standalone and borwser applications.

      1 Reply Last reply
      0
      • G GomathiR

        Hi, Can we use navigation in windows. I want to move to anotherwindow on clicking Login button in one window.I also want to store some session values.Ihad done all these in Page. But i want the application window to be small.Hence i want to do it in window.Any idea! :(

        Gomathi R

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

        You could show your login screen as a modal dialog. WPF is perfectly happy with you displaying dialogs.

        "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

        G 1 Reply Last reply
        0
        • P Pete OHanlon

          You could show your login screen as a modal dialog. WPF is perfectly happy with you displaying dialogs.

          "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

          G Offline
          G Offline
          GomathiR
          wrote on last edited by
          #4

          Hi, i am using this method only. But it is applicable for Page navigation only.I want window navigation. :(

          Gomathi R

          P 1 Reply Last reply
          0
          • G GomathiR

            Hi, i am using this method only. But it is applicable for Page navigation only.I want window navigation. :(

            Gomathi R

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

            GomathiR wrote:

            But it is applicable for Page navigation only

            No it's not. A standard Windows application can show a Dialog. What you could do - and this is a hack, is show the login dialog before you call InitializeComponent(); in the window class. Then, call Application.Shutdown(); if the login fails.

            "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

            G 1 Reply Last reply
            0
            • P Pete OHanlon

              GomathiR wrote:

              But it is applicable for Page navigation only

              No it's not. A standard Windows application can show a Dialog. What you could do - and this is a hack, is show the login dialog before you call InitializeComponent(); in the window class. Then, call Application.Shutdown(); if the login fails.

              "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

              G Offline
              G Offline
              GomathiR
              wrote on last edited by
              #6

              Thanks Pete. But now i am looking at another serious problem. I am using infra grid in my page. I want to perform edit operation in it. I found a method which works only when "Select *" is used.And also it displays two objects in the grid. Any idea regarding this.very urgent

              Gomathi R

              P 1 Reply Last reply
              0
              • G GomathiR

                Thanks Pete. But now i am looking at another serious problem. I am using infra grid in my page. I want to perform edit operation in it. I found a method which works only when "Select *" is used.And also it displays two objects in the grid. Any idea regarding this.very urgent

                Gomathi R

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

                I don't use the Infra grid, so I can't help you on this. If you can't figure it out, you should raise this on the Infragistics support forums - they are the best place to figure vendor specific issues out.

                "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

                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