.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT

Post New Resource Bookmark and Share   

call javascript function from the code behind page

Posted By:Hiren Soni       Posted Date: August 11, 2010    Points: 10    Category:    URL: http://www.dotnetspark.com  

here i will show how you can call javascript code from the code-behind page:

string jv = "";

        Page.RegisterClientScriptBlock("JS", jv);

in string jav you have to write function_call statement. then using 

Page.RegisterClientScripBlock will call that javascript string at the client side.


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend