Hi,
I am developing a web based database system by using ASP. I want to use
frame to separate the following three sections: (each section has a
collection of properties)
-----------------------------------------------
1. top frame: Project
-----------------------------------------------
2. middle frame: WBS (Project-WBS is one to many relationship)
-----------------------------------------------
3. bottom frame: Task (WBS-Task is one to many relationship)
-----------------------------------------------
the first time user access this page, it will display a select box which
contains all the existing projects, which are returned from the project
tables in the database. (the project list is implemented by asp)
I would like user to simplily select a project number, the middle frame
will automatically display all the associated WBS under the project. If
there is only one WBS, the middle frame should display all the properties
assoicated with the WBS. Otherwise, it should display a select box with
all the WBS under the project.
This will require the code to take action when you select a project, which
is to display all WBS under the project -- the middle frame. There must be
a function in javascript such as onselect(), which fire up the middle
frame by passing a parameter, which is the project number selected by the
user. Then the middle frame, which is an asp page, accepts the parameter
and lookup the database and display all the WBS.
Could you please help me with the following code:
1. What function should I use to fire up the middle frame after the user
select a project number? And how to pass the project number, which is
selected by the user to the middle frame?
2. How does the middle frame asp accept the parameter -- selected project
number -- and update itself.
I have got the skill to pass parameter from one asp page to another, but
not between frames. Could you please give me a simply code structure for
the above scenario?
Thanks heaps
Brian