Hi there,
Yes, you can. C# is used to execute at the server, while the JavaScript is sent to the browser and then executed there, at the client.
Do you have any specific examples in mind? Sending JavaScript to the client can be very easy (simply put it between <script language="JavaScript" type="text/javascript"> tags), or it can be a bit tricky, if you want to attach client side script to controls based on stuff that happens on the server.
If you can be a bit more specific, I might be able to give a more comprehensive answer.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|