Can i

S

Sumana

Can i call a client side script after a server control is called and
executed? If yes, how can we do this?
 
C

CMA

yes, you can.
you need to do is in the server side method put the code like this.

string strScript = "script language=javascript>yourfunction();</script>";
Response.Write(strScript);

it will excecute the javascript called "yourfunction();" in the page <head>

CMA
 

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
474,093
Messages
2,570,607
Members
47,227
Latest member
bluerose1

Latest Threads

Top