call a function from server side in asp.net

Posted by Sushant under ASP.NET on 7/20/2013 | Points: 10 | Views : 731 | Status : [Member] | Replies : 2
how to call javascript function from server side in asp.net

Sushat


Responses

Posted by: aswinialuri-19361 on: 7/20/2013 [Member] Starter | Points: 25

Up
0
Down
hi,
Refer this links i hopeit might e useful to you
http://www.aspdotnet-suresh.com/2012/12/how-to-call-server-side-method-from.html
http://www.daniweb.com/web-development/aspnet/threads/378075/how-to-call-a-javascript-function-from-a-server-side-fu...-in-if-condition http://forums.asp.net/t/1783275.aspx/1

if you get any doubt about this raise a query

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

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

Posted by: Raj.Trivedi on: 7/20/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello Sushant

This will help

System.Web.UI.ScriptManager.RegisterClientScriptBlock(Page, typeof(Page), "Script", "YourJSFunction();", true);

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

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

Login to post response