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. Web Development
  3. ASP.NET
  4. I want to use a Button for ...

I want to use a Button for ...

Scheduled Pinned Locked Moved ASP.NET
question
3 Posts 2 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.
  • M Offline
    M Offline
    mostafa_h
    wrote on last edited by
    #1

    hi all! i have 2 webform ,page1 and page2. without using a Hyperlink label , and only with using a button , i want to open another WebForm(for eg. from page1 to page2) . How can i do it? mostafa hosseiny b.

    M 1 Reply Last reply
    0
    • M mostafa_h

      hi all! i have 2 webform ,page1 and page2. without using a Hyperlink label , and only with using a button , i want to open another WebForm(for eg. from page1 to page2) . How can i do it? mostafa hosseiny b.

      M Offline
      M Offline
      munawarhussain
      wrote on last edited by
      #2

      hi yes .. you can use Response.Redirect in your button event handler to go to another page...just like Response.Redirect(Page2.aspx); if you are not using server side then you can use javascript at client side to open page2 in a new window. hopefully it would help you in resolving the problem... bye Munawar Hussain Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-4365657 +92-42-3044030466

      M 1 Reply Last reply
      0
      • M munawarhussain

        hi yes .. you can use Response.Redirect in your button event handler to go to another page...just like Response.Redirect(Page2.aspx); if you are not using server side then you can use javascript at client side to open page2 in a new window. hopefully it would help you in resolving the problem... bye Munawar Hussain Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-4365657 +92-42-3044030466

        M Offline
        M Offline
        mostafa_h
        wrote on last edited by
        #3

        thanks in advance ! for your guide : Response.Redirect("Page2.aspx"); ofcourse , for writting and using javascript at client side to open page2 in a new window , I have problem and need to me to learn better about this. Yours !:) mostafa hosseiny b.

        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