Asp.net ajax event bind to two functions
Posted
by Chubbs
on Stack Overflow
See other posts from Stack Overflow
or by Chubbs
Published on 2010-04-12T00:31:52Z
Indexed on
2010/04/12
0:43 UTC
Read the original article
Hit count: 328
ASP.NET
|asp.net-ajax
hey Guys,
I wanted to know if there's a way I can bind an Asp.net Ajax event to two different JS functions ?
eg.
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (!prm.get_isInAsyncPostBack())
{
prm.add_initializeRequest(InitializeRequest);
prm.add_initializeRequest(InitializeRequest2);
}
function InitalizeRequest() { ... }
function InitalizeRequest2() { ... }
© Stack Overflow or respective owner