Javascript is a scripting language that runs in the browser, while ASP.net runs on the server and is the basis for running web applications (you can compare it with JSP, ColdFusion, etc.). That's exactly what you know ... there are versions of ServerSide JavaScript (for the older ones among us ..... remember Netscape LiveWire?)
You can use Javascript with ASP.NET
source share