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. iframe in an apsx page

iframe in an apsx page

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
4 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.
  • M Offline
    M Offline
    Member 4260270
    wrote on last edited by
    #1

    Hai, I have a girdview in an aspx page and if I click the EDIT button inside that gridview, it will open a particular page in an iframe. How can I get the values of the textboxes inside that page that already in an iframe from the main page that the grid is placed. If anyone can help me please help me

    D T P 3 Replies Last reply
    0
    • M Member 4260270

      Hai, I have a girdview in an aspx page and if I click the EDIT button inside that gridview, it will open a particular page in an iframe. How can I get the values of the textboxes inside that page that already in an iframe from the main page that the grid is placed. If anyone can help me please help me

      D Offline
      D Offline
      daveyerwin
      wrote on last edited by
      #2

      http://www.dyn-web.com/tutorials/iframes/refs.php[^] window.frames[iframeName].document.getElementById(elementId).value

      1 Reply Last reply
      0
      • M Member 4260270

        Hai, I have a girdview in an aspx page and if I click the EDIT button inside that gridview, it will open a particular page in an iframe. How can I get the values of the textboxes inside that page that already in an iframe from the main page that the grid is placed. If anyone can help me please help me

        T Offline
        T Offline
        T M Gray
        wrote on last edited by
        #3

        Is there any reason you are doing screen scraping rather than getting the data behind the scenes? This sounds very phishy. Make sure you aren't violating the terms of use of whatever site you are bringing up in the iframe.

        1 Reply Last reply
        0
        • M Member 4260270

          Hai, I have a girdview in an aspx page and if I click the EDIT button inside that gridview, it will open a particular page in an iframe. How can I get the values of the textboxes inside that page that already in an iframe from the main page that the grid is placed. If anyone can help me please help me

          P Offline
          P Offline
          Prosanta Kundu online
          wrote on last edited by
          #4

          You can pass the textbox values in querystring in the IFrame or you can use

          window.parent.document.getElementById("textboxID").value

          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