Eli,
Yes, it is possible and there is nothing special in it. These two events
have nothing to do one with another. The server event is a part of a page
building process, whereas the client one is a part of page running process.
Two absolutely different tasks.
Eliyahu
"Eli" <ne******@hotmail.com> wrote in message
news:Oe*************@TK2MSFTNGP12.phx.gbl...
Hello.
I have a server side event Page_Load in aspx page.
<%@ Page Languadge=c# AutoEventWireup="true" %>
<script Languadge=c# runat=server>
void Page_Load(Object sender, EventArgs e)
{
// my server side code;
}
</script>
And I want that the follow client side script will be executed too.
<script Languadge=javascript>
function DoOnLoad()
{
// my client side code
}
</script>
<body onload="DoOnLoad();">
...
</body>
The both scripts are executed on onload event, but one on server and
second on client.
Is it possiable? I try and the client side script don't work very well.
Thanks
Eli