How to call jQuery function from code behind of ASP.NET? [Resolved]

Posted by Hanishani under ASP.NET on 9/2/2013 | Points: 10 | Views : 1005 | Status : [Member] | Replies : 2
I'm working in a project where I need to call the jQuery function from code behind of ASP.NET.Please suggest me how to do?




Responses

Posted by: Satyapriyanayak on: 9/3/2013 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
http://coderskey.blogspot.in/2013/04/how-to-call-code-behind-function-using.html
http://forums.asp.net/t/1557059.aspx/1
http://stackoverflow.com/questions/2397165/call-jquery-function-from-asp-net-code-behind-c-sharp
http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/
http://stackoverflow.com/questions/2397165/call-jquery-function-from-asp-net-code-behind-c-sharp#6859805


If this post helps you mark it as answer
Thanks

Hanishani, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
---Try this
ClientScript.RegisterStartupScript (this.GetType(), "blah", "YourJsFunction();", true);

Refer this link
http://stackoverflow.com/questions/2397165/call-jquery-function-from-asp-net-code-behind-c-sharp
http://stackoverflow.com/questions/6178811/call-jquery-from-code-behind

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Hanishani, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response