Hi Thanks for reply.
It got me thinking.
What I have actually done is simply
document.all("MyHiddenField").value = "Finished"
document.myForm.submit()
Then the aspx simply loks in the posted back value of MyHiddenField to
decide whether to do the cleanup. I tried to set a Target and Value for the
submit but any Target other than "" caused a second instance of my page to be
created(!).
Any Value seemed to be completely ignored.
Anyway, got a result.
Thanks again.
David
"re****@community.nospam" wrote:
The quick and dirty method would be to convert the __dopostback to vbscript.
change any [] to () - remove the ; and put a vbscript style function
declaration and replace { } with appropriate vb tags.
there is nothing in the postback event that is javascript specific that i am
aware of.
"David" <Da***@community.nospam> wrote in message
news:3C**********************************@microsof t.com... Hi
I have an asp.net page with embedded vbscript that interacts with
Microsoft
Word.
The script is activated by a client side button (onClick()...).
When the script has finished I want to notify the server so that some
cleaning up can be done. I can't find a way to do a postback from
vbscript. I
have added another button and run it's click method but it didn't post
back
(I don't know how to get the event chain working). I tried calling a
javascript routine to do a __postback("","") etc.
Any help - I'm stuck on this one.
David