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. how i can hold more than one reutrn value from show modal dialog page

how i can hold more than one reutrn value from show modal dialog page

Scheduled Pinned Locked Moved ASP.NET
5 Posts 3 Posters 2 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.
  • J Offline
    J Offline
    jagadeeshkumar1984
    wrote on last edited by
    #1

    i have one popup page with two text boxes by writting winow.return two times i want to pass the textboxes values .how i can hold these values separetly in main page

    A S 2 Replies Last reply
    0
    • J jagadeeshkumar1984

      i have one popup page with two text boxes by writting winow.return two times i want to pass the textboxes values .how i can hold these values separetly in main page

      A Offline
      A Offline
      Aavesh Agarwal
      wrote on last edited by
      #2

      u mean to say u want to send the values from popup page to main page... Regards Aavesh

      J 1 Reply Last reply
      0
      • A Aavesh Agarwal

        u mean to say u want to send the values from popup page to main page... Regards Aavesh

        J Offline
        J Offline
        jagadeeshkumar1984
        wrote on last edited by
        #3

        yes sir i have send row value and a column value means to values to main page throug pop up or a show model dialog and how to hold these two values in master page

        1 Reply Last reply
        0
        • J jagadeeshkumar1984

          i have one popup page with two text boxes by writting winow.return two times i want to pass the textboxes values .how i can hold these values separetly in main page

          S Offline
          S Offline
          SABhatti
          wrote on last edited by
          #4

          You can do it two ways: 1. return the both values separated by some special character like |-| and then split it in the parent page. 2. you can set the field of the parent window from within the modal dialog box like: top.opener.document.getElementById('field1').value = field1; top.opener.document.getElementById('field2').value = field2;

          -----

          J 1 Reply Last reply
          0
          • S SABhatti

            You can do it two ways: 1. return the both values separated by some special character like |-| and then split it in the parent page. 2. you can set the field of the parent window from within the modal dialog box like: top.opener.document.getElementById('field1').value = field1; top.opener.document.getElementById('field2').value = field2;

            -----

            J Offline
            J Offline
            jagadeeshkumar1984
            wrote on last edited by
            #5

            thanks u sir now i used the first one of which u sent .its working now.sir how i can get the iframe source code with html starting and ending tags in another page

            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