Sunday, August 2, 2009

How can i call javascript function in c# web based?

You can't directly call into a Javascript function, but you may:


1) create a client side script from the server side (a page that outputs %26lt;script%26gt;alert('some message')%26lt;/script%26gt; for instance)


2) there's some new support in Asp.NET 2.0 for client to server interaction (AJAX)


3) you may look for ATLAS which is a foundation just for that kind of things (Web 2.0 in general)


No comments:

Post a Comment