On Thu, 22 Dec 2005 08:46:14 -0800, Steve Kershaw wrote:
> I have a problem that I need to be able to run a server side method
> (MyMethod()) from a javascript script. For example:
>
> <script language="javascript">
>
> confirmValue = confirm("Do you wish to save?");
> if(confirmValue)
> run MyMethod() here
>
> </script>
>
> There must be a way to do this, but how?
>
> Thanks in advance for your help.
>
> Steve
There is AJAX as well as ICallbackEventHandler.
For a very complete and elegant AJAX implementation look up AJAX.NET
http://ajax.schwarz-interactive.de/