Hi ,
//On UpdatePanel Refresh
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
if (sender._postBackSettings.panelsToUpdate != null) {
what is the difference between above and
//On UpdatePanel Refresh
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function () {
what is the meaning of the below line
if (sender._postBackSettings.panelsToUpdate != null) {
and instead of functionsender,e) when can i use just function for endrequest function