I'm wondering if it's possible to call a function in the code-behind
file (ie. my_project.aspx.vb) from a vbscript function or subroutine
in the aspx file (ie. my_project.aspx.). One may suggest somehow
aggregate the vbscript function from aspx file to the code-behind file
and save all the trouble, but in my case this approach doesn't work
out very well. The main reason is I need to some do some complicated
validation that must be done in code-behind file with visual basic,
vbscript is not up to the job. Next, I'd also like to use msgbox to
show the result of validation, in this case however, aps.net forbids
the invocation of msgbox from code-behind code. So all in all, the
simplest work-around solution would be for a vbscript function to
invoke the validation function inside code-behind, which sends back to
result to the calling vbscript function. Then the vbscript function
displays proper message via msgbox depending on the return value.
Comments and/or pointers to on-line tutorials are much appreciated.