Master child desplay

Results 1 to 3 of 3

Thread: Master child desplay

  1. #1
    somas Guest

    Default Master child desplay

    Hi,<BR>I have a asp page which needs to have a list box at the upper half of the page which will bring up the list of departments. Now I have that working. When the user selects a department, it should populate all the employees for that dept in the lower half of the screen. I have the SQL for this. But am not able to figure out how I can pass the dept_id (selected by the user from the list) as a parameter for the query that populates the employees list below. Please help. It is a live or die scenario here!! Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Master child desplay

    Hi somas,<BR>There are a couple of different ways to do this. The easiest one is to capture the onChange event of the first listbox and submit the form to the server again. Then, using the selected value in the master listbox you can select the employees. <BR>Hope this helps somewhat,<BR>Michal

  3. #3
    somas Guest

    Default RE: Master child desplay

    Thank you! I wish it works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts