I have an ND HTML page with Javascript embedded in it.
Basically the page displays the product tree structure dynamically just like the file
explorer.
When the page is first loaded it dislays
the root with a button (type button) and the name of the product. When the button
is clicked the next level of products in the hierarchy is displayed(one
product per
row). This time on each row , together with the name of the product, there
are two
buttons of type 'button', one to expand/collapse the tree further and another
to
load the ND page that displays the details of the product being clicked.
These are
all done in Javascrpt & I'm creating the html of the tree dynamically.
My problem is I want the button that loads the ND page also to set user session values
using CSpider.putUserSessionObject()as well as loading the ND detail page
(this detail
page will retrieve the data of the selected product from the database and
display
them).
To do that at the moment I have a NetDynamics button on the page. When the javascript
button in the product tree is clicked it invokes the click event of this
NetDynamics
button. This ND button will then load the next ND page and set user session
variables.
I have codes under the onWebEvent of the ND button that does it.
Everything works nicely except that this ND button is visible all the time.
Is there a way to hide it from display or should I be doing it differently altogether?
Cho Cho Aung
_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]