I have an include.asp file on every page. My problem is that on any page that requires server side event handlers such as onClick, there seems to be another round trip to the server which cancels out the contents of the page. For example, the code in the handler will not recognize the form values on the page or the recordsets on the page causing lines of code such as:
session("Location" = Request.Form.Item("lstLocation"
to come up blank
or:
rsDisplayDetails.fields.getValue("EmployerID"
to come up rsDisplayDetails 'object required'.
Does anyone know what I can do to get around this problem - it's pretty urgent, and if I can't get it working soon my boss will have me do away with VI (which may not be such a bad thing in principle but I'm not too prepared to rewrite nearly all my code) just to get rid of the object model which he thinks is causing all this trouble.
Thanks for your help.
session("Location" = Request.Form.Item("lstLocation"
to come up blank
or:
rsDisplayDetails.fields.getValue("EmployerID"
to come up rsDisplayDetails 'object required'.
Does anyone know what I can do to get around this problem - it's pretty urgent, and if I can't get it working soon my boss will have me do away with VI (which may not be such a bad thing in principle but I'm not too prepared to rewrite nearly all my code) just to get rid of the object model which he thinks is causing all this trouble.
Thanks for your help.