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. ASP.NET Form

ASP.NET Form

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
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.
  • K Offline
    K Offline
    Khan Bangash
    wrote on last edited by
    #1

    Hi All I have a page in which there are two forms. One form is used to send values to another page. There is no Submit Button for first form. I m using a button of second form. How Can I submit the 1st Form when I click on the Button of Second Form.

    J V 2 Replies Last reply
    0
    • K Khan Bangash

      Hi All I have a page in which there are two forms. One form is used to send values to another page. There is no Submit Button for first form. I m using a button of second form. How Can I submit the 1st Form when I click on the Button of Second Form.

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      do u mean u have a form and a pop up window?

      Best Regards 3ala2 :)

      1 Reply Last reply
      0
      • K Khan Bangash

        Hi All I have a page in which there are two forms. One form is used to send values to another page. There is no Submit Button for first form. I m using a button of second form. How Can I submit the 1st Form when I click on the Button of Second Form.

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        You can programmatically submit the first form using JavaScript. document.forms[0].submit();

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        K 1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          You can programmatically submit the first form using JavaScript. document.forms[0].submit();

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          K Offline
          K Offline
          Khan Bangash
          wrote on last edited by
          #4

          I m writing my Problem again my dear. I have a page in which two forms are used. In the Second Form there is a button. I want to Submit the first Form when some one click on the Button of Second Form. There is no Submit Button in the first Form. How can I do this.

          R 1 Reply Last reply
          0
          • K Khan Bangash

            I m writing my Problem again my dear. I have a page in which two forms are used. In the Second Form there is a button. I want to Submit the first Form when some one click on the Button of Second Form. There is no Submit Button in the first Form. How can I do this.

            R Offline
            R Offline
            RenuKhot
            wrote on last edited by
            #5

            so create a javascript function, with the line of code given above and call that on click of the button on the 2nd form..

            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