Using Server side method from Javascript without AJAX

Posted by Aswin Ramakrishnan on Stack Overflow See other posts from Stack Overflow or by Aswin Ramakrishnan
Published on 2011-03-09T16:06:18Z Indexed on 2011/03/09 16:10 UTC
Read the original article Hit count: 347

Filed under:
|
|
|

I have a tricky problem. I am in a situation where I need to use a method defined in a .cs file from a javascript function. The problem is we are using .NET 1.1 and AJAX cannot be used for the application.

Also, I will need to pass a string from the javascript to the server side method. The page where I am implementing the javascript is a .as Any ideas?

I have tried doing a post back and creating a RaisePostBack event handler method (both in the .aspx page and the .ascx user control) but no luck.

It will be greatly appreciated if someone could help me out with the problem.

© Stack Overflow or respective owner

Related posts about c#

Related posts about JavaScript