Call javascript function from server

A

Alvaro Gutierrez

How i call a csharp function from javascript?. Somebody
can write some example..? please...
<SCRIPT>
function Stop(){
call csharp function
window.close();
}
</SCRIPT>
 
K

Kevin Swarts

You can use Remote Scripting. I haven't used it with .Net, but did with ASP.
You can also try XmlHttp. A while ago I was working on some code that could
take JavaScript objects, serialize them and pass them to web service, and
take serialized object and turn them into JavaScript objects. I had limited
success.

Kevin Swarts
nAlliance Corporation - Home of nGen 2.0
http://www.nAlliance.com
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top