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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Binding Drop down from another page.

Binding Drop down from another page.

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

    hai all plse help me to solve this problem. I have two aspx pages.from one page i am calling 2nd page through java script(window.open). in second page i have one grid. when i select one recrod from tat grid i will get one id. based on that id i need to populate the dropdown in first page. plse help me Thanks in advance. Lijo Rajan

    R 1 Reply Last reply
    0
    • L Lijo Rajan

      hai all plse help me to solve this problem. I have two aspx pages.from one page i am calling 2nd page through java script(window.open). in second page i have one grid. when i select one recrod from tat grid i will get one id. based on that id i need to populate the dropdown in first page. plse help me Thanks in advance. Lijo Rajan

      R Offline
      R Offline
      ReactiveX
      wrote on last edited by
      #2

      In your parent's Page_Load event, add a block at the top to look for a Request.QueryString("id") So... Page_Load: If Not Request.QueryString("id") Is Nothing Then 'Do databinding here to the drop down list based on this ID. End If Then redirect the parent page to itself using the ID query string ("id=value").

      Daniel Minnaar Lead Software Developer

      L 1 Reply Last reply
      0
      • R ReactiveX

        In your parent's Page_Load event, add a block at the top to look for a Request.QueryString("id") So... Page_Load: If Not Request.QueryString("id") Is Nothing Then 'Do databinding here to the drop down list based on this ID. End If Then redirect the parent page to itself using the ID query string ("id=value").

        Daniel Minnaar Lead Software Developer

        L Offline
        L Offline
        Lijo Rajan
        wrote on last edited by
        #3

        Thank you verymuch Mr Daniel Minnaar for ur reply.In my case i am not redirecting my 2nd page to first page.I am calling 2nd page as a popwindow through javascript.so based on the id selecting from 2nd page grid at that time itself the dropdown list should be populated with out redirecting to parent page.in this case how i can use page load event? plse give me a proper solution. Lijo Rajan

        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