2

I want to call js method before postback after timer tick. How can it be done?

1 Answer 1

2

User before ajax call event, you have to register that first Registering event

Sys.WebForms.PageRequestManager.instance.add_beginRequest(beginRequestHandler)

Event handler

function BeginRequestHandler(sender, args)
{
    alert("Before ajax call");
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.