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. content page list box problem

content page list box problem

Scheduled Pinned Locked Moved ASP.NET
helpjavatools
2 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.
  • P Offline
    P Offline
    pss srinivasan
    wrote on last edited by
    #1

    I have two asp list boxes, one is there in content page and Another one is there in normal page. If I click ok button in normal page, I want to display items in content page list box from normal page list box. Using java script Please anyone help me. It is very urgent.

    A 1 Reply Last reply
    0
    • P pss srinivasan

      I have two asp list boxes, one is there in content page and Another one is there in normal page. If I click ok button in normal page, I want to display items in content page list box from normal page list box. Using java script Please anyone help me. It is very urgent.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Always remember, when the page is rendered in client, it is all the html. The content page controls are just in the same page as the Masterpage control. So Access the controls by its id, just similar to what you do in case of normal pages. Use ClientID which represents the client side id. Use like this : var element = document.getElementById('<%=this.obj.ClientID%>') :)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Simplify Code Using NDepend
      Basics of Bing Search API using .NET
      Microsoft Bing MAP using Javascript

      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