Kevin,
I have code in a Javascript component that I give away for free on my site
(including source code) that uses a javascript to disable a button after
it's clicked. The code first calls the microsoft javascript to check the
page validators so the button won't be disabled if the page won't be posted
back.
You may see a demo and download the code from here:
http://www.aboutfortunate.com?page=javascriptdemo (example #3)
The code is downloadable as a .NET 1.1 project. It's easily converted to
2.0. I'm working on converting many of the objects on my site, but haven't
finished yet.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Kevin Lawrence" <sp******@spam.com> wrote in message
news:3a**************************@news.rmplc.co.uk ...
Hi
I need to be able to prevent a Server Button from posting back when
clicked, the reason for this is so I can use client-script to disable the
button and then when there is a postback to save its state...
Kev