Didn't we cover this in two previous threads:
http://p2p.wrox.com/topic.asp?TOPIC_ID=11767
http://p2p.wrox.com/topic.asp?TOPIC_ID=11765
The same principle still applies: client side code runs at the client, server side code at the server. When the page first loads, the server side block runs, and the
output is inserted between the { and the } of the StartCallWorkTimer mehtod. Then the page is sent to the browser where the method will run, using the
same output from the server side code.
It looks like you're missing a few important client-server concepts....
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Bearsuit by
Tindersticks (Track 11 from the album:
Curtains)