Ya you can not directly access a C# class file via JavaScript, however, Microsoft does provide you with some funcationality that makes this somewhat possible. Since you are using .NET 1.x you do not have the luxary of using [WebMethod] to expose Server Side events to your JavaScript but you can setup a Script Callback. This essentially allows you to call a server side method directly from your JavaScript.
Understand though you can't call the C# file directly. The Script Callback must call a Method that exists in your ASPX page and that method can then call your C# file.
Here is how to setup a Script Callback:
http://www.codeguru.com/csharp/.net/...icle.php/c9679
hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library:
Wrox Books 24 x 7
Did someone here help you? Click

on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================