You can "Register" the Javascript FROM your code behind file,or you can "Response.Write" it TO client side explicitly.