Calling server-side function from client-side

  • Thread starter Thread starter Benny
  • Start date Start date
B

Benny

Hello all,

How can i call a server side function (in .aspx.cs) from a client side
(in .aspx) using javascript?

thanks,

benny
 
Exactly in the same way as ASP.NET server control do it.
For instanse, put Server side button on the page, write
any function for button_onclick, next , hide your button
and invoke generated client side js function when you need.
 

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

Back
Top