Category Archives: Microsoft AJAX

Using the PageRequestManager in ASP.Net AJAX (ATLAS)

In your java script::   var postBackElem; Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler); Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(PageLoadedHandler); function BeginRequestHandler(sender, args) { postBackElem = args.get_postBackElement(); } function PageLoadedHandler(sender, args) { var c = ‘panels created: ‘; var u = ‘panels updated: ‘;   for(var i=0;i c += args.get_panelsCreated()[i].id + … Continue reading

Posted in JavaScript, Microsoft AJAX | Leave a comment