Autopostback prgrammitically from client-side script

  • Thread starter Thread starter EC
  • Start date Start date
E

EC

I have a web control button with which runs a client side script before it
the autopostback using the onclick event. It is working fine when the user
clicks it.

What I would like to do is "click" this button programmtically from a client
side script. Any ideas?

Or is there a way to call the autopostback event of the button and still run
the client side script?
 
<script>
document.getElementById('buttonID').click();
</script>

-- bruce (sqlwork.com)
 
Back
Top