Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4693

Using RegisterClientScriptBlock and RegisterStartupScript functions in Static WebMethod in ASP.Net

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to use ClientScript and ScriptManager RegisterClientScriptBlock and RegisterStartupScript functions in Static WebMethod in ASP.Net using C# and VB.Net. It is not possible to use ClientScript and ScriptManager RegisterClientScriptBlock and RegisterStartupScript functions in Static WebMethod and hence the solution is to call the JavaScript function inside the success method of the AJAX call.

Viewing all articles
Browse latest Browse all 4693

Trending Articles