A couple good walkthroughs from MSDN:
Calling Managed Code from Client Script
Calling Client Script from Managed Code
Comments are closed.