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. The Lounge
  3. open url from button Asp.net

open url from button Asp.net

Scheduled Pinned Locked Moved The Lounge
csharpasp-net
25 Posts 7 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.
  • C chrisclarke11

    Hi i'm new to Asp.net. What i want to do is add a put to the web page that when click on directs it to another page using c#. Is there a simple way to do this Thanks Chris

    Chris

    K Offline
    K Offline
    Kasson
    wrote on last edited by
    #5

    Hi Please do not post programming questions here. If you have a programming question then click here![^]

    With Regards, Kasson

    C 1 Reply Last reply
    0
    • E Estys

      Page.Redirect("to ASP.NET forum") Cheers

      I don't like my signature at all

      C Offline
      C Offline
      chrisclarke11
      wrote on last edited by
      #6

      thanks for that

      Chris

      1 Reply Last reply
      0
      • K Kasson

        Hi Please do not post programming questions here. If you have a programming question then click here![^]

        With Regards, Kasson

        C Offline
        C Offline
        chrisclarke11
        wrote on last edited by
        #7

        yes somebody already said that

        Chris

        K 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          The first thing to do is to read the words on this page. See the bold bit near the top? Where its says: Please do not post programming questions here. If you have a programming question then click here![^] Do pay attention! (Gets you a one)

          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

          C Offline
          C Offline
          chrisclarke11
          wrote on last edited by
          #8

          yes spotted that as i press post

          Chris

          OriginalGriffO 1 Reply Last reply
          0
          • C chrisclarke11

            yes spotted that as i press post

            Chris

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #9

            If it happens again (and everybody makes mistakes) there are two links at the bottom of each of your posts: "edit" and "delete". Care to gues what they do? :laugh: Don't delete it now - that just makes the place look untidy and will gain you more abuse - instead edit the original post, and apologise! You may get some points back for that, you never know... :-D

            Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • T thatraja

              Estys wrote:

              Page.Redirect("to ASP.NET forum")

              FTFY

              thatraja


              **My Tip/Tricks
              My Dad had a Heart Attack on this day so don't...
              **

              E Offline
              E Offline
              Estys
              wrote on last edited by
              #10

              thatraja wrote:

              Page.Redirect("to ASP.NET forum");

              FTFY, one error less

              If you can read this, you don't have Papyrus installed

              T 1 Reply Last reply
              0
              • C chrisclarke11

                Hi i'm new to Asp.net. What i want to do is add a put to the web page that when click on directs it to another page using c#. Is there a simple way to do this Thanks Chris

                Chris

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #11

                chrisclarke11 wrote:

                Hi i'm new to Asp.net. What i want to do is add a put to the web page that when click on directs it to another page using c#. Is there a simple way to do this

                Yes, but you won't find the answer in this forum.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                C 1 Reply Last reply
                0
                • E Estys

                  thatraja wrote:

                  Page.Redirect("to ASP.NET forum");

                  FTFY, one error less

                  If you can read this, you don't have Papyrus installed

                  T Offline
                  T Offline
                  thatraja
                  wrote on last edited by
                  #12

                  Oh..then you didn't completed

                  Estys wrote:

                  thatraja wrote: Page Response.Redirect("to ASP.NET forum[^]");

                  FTFY

                  thatraja


                  **My Tip/Tricks
                  My Dad had a Heart Attack on this day so don't...
                  **

                  E D 2 Replies Last reply
                  0
                  • T thatraja

                    Oh..then you didn't completed

                    Estys wrote:

                    thatraja wrote: Page Response.Redirect("to ASP.NET forum[^]");

                    FTFY

                    thatraja


                    **My Tip/Tricks
                    My Dad had a Heart Attack on this day so don't...
                    **

                    E Offline
                    E Offline
                    Estys
                    wrote on last edited by
                    #13

                    thatraja wrote:

                    Page Response.Redirect("to ASP.NET forum[^]");

                    That has to be the definitive version! No more fixes possible :)

                    If you can read this, you don't have Papyrus installed

                    OriginalGriffO 1 Reply Last reply
                    0
                    • C chrisclarke11

                      yes somebody already said that

                      Chris

                      K Offline
                      K Offline
                      Kasson
                      wrote on last edited by
                      #14

                      I have answered you in the forum. check it out there.

                      With Regards, Kasson

                      1 Reply Last reply
                      0
                      • T thatraja

                        Oh..then you didn't completed

                        Estys wrote:

                        thatraja wrote: Page Response.Redirect("to ASP.NET forum[^]");

                        FTFY

                        thatraja


                        **My Tip/Tricks
                        My Dad had a Heart Attack on this day so don't...
                        **

                        D Offline
                        D Offline
                        dan sh
                        wrote on last edited by
                        #15

                        thatraja wrote:

                        Response.Redirect("to ASP.NET forum[^]", false);

                        A bit more safer version.

                        "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                        T 1 Reply Last reply
                        0
                        • E Estys

                          thatraja wrote:

                          Page Response.Redirect("to ASP.NET forum[^]");

                          That has to be the definitive version! No more fixes possible :)

                          If you can read this, you don't have Papyrus installed

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #16

                          Estys wrote:

                          Response.Redirect("to the ASP.NET forum[^]");

                          FTFY! :laugh:

                          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          E 1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            Estys wrote:

                            Response.Redirect("to the ASP.NET forum[^]");

                            FTFY! :laugh:

                            Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                            E Offline
                            E Offline
                            Estys
                            wrote on last edited by
                            #17

                            Response.Redirect("http://www.nitpickers.org"); :)

                            If you can read this, you don't have Papyrus installed

                            OriginalGriffO 1 Reply Last reply
                            0
                            • E Estys

                              Response.Redirect("http://www.nitpickers.org"); :)

                              If you can read this, you don't have Papyrus installed

                              OriginalGriffO Offline
                              OriginalGriffO Offline
                              OriginalGriff
                              wrote on last edited by
                              #18

                              You think I have head lice? :laugh: BTW: You should code that as a link, if I'm being picky...

                              Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                              D 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                You think I have head lice? :laugh: BTW: You should code that as a link, if I'm being picky...

                                Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                                D Offline
                                D Offline
                                dan sh
                                wrote on last edited by
                                #19

                                OriginalGriff wrote:

                                You think I have head lice?

                                He never said head. ;P

                                "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                OriginalGriffO 1 Reply Last reply
                                0
                                • D dan sh

                                  OriginalGriff wrote:

                                  You think I have head lice?

                                  He never said head. ;P

                                  "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #20

                                  I never do get head... Perhaps I should rephrase that?

                                  Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  D 1 Reply Last reply
                                  0
                                  • OriginalGriffO OriginalGriff

                                    I never do get head... Perhaps I should rephrase that?

                                    Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                                    D Offline
                                    D Offline
                                    dan sh
                                    wrote on last edited by
                                    #21

                                    OriginalGriff wrote:

                                    I never do get head...

                                    Is that a regret?

                                    "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                    OriginalGriffO 1 Reply Last reply
                                    0
                                    • D dan sh

                                      OriginalGriff wrote:

                                      I never do get head...

                                      Is that a regret?

                                      "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #22

                                      Careful! That's dangerous ground you're walking on, there! :laugh:

                                      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      1 Reply Last reply
                                      0
                                      • D dan sh

                                        thatraja wrote:

                                        Response.Redirect("to ASP.NET forum[^]", false);

                                        A bit more safer version.

                                        "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                        T Offline
                                        T Offline
                                        thatraja
                                        wrote on last edited by
                                        #23

                                        I hope it will be the final version. :)

                                        thatraja


                                        **My Tip/Tricks
                                        My Dad had a Heart Attack on this day so don't...
                                        **

                                        D 1 Reply Last reply
                                        0
                                        • T thatraja

                                          I hope it will be the final version. :)

                                          thatraja


                                          **My Tip/Tricks
                                          My Dad had a Heart Attack on this day so don't...
                                          **

                                          D Offline
                                          D Offline
                                          dan sh
                                          wrote on last edited by
                                          #24

                                          Well, not really. Server.Transfer would serve better than response.redirect in this case. Give CPians some more time and we will come with something revolutionary.

                                          "Your code will never work, Luc's always will.", Richard MacCutchan[^]

                                          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