{"id":850,"date":"2017-05-16T15:04:30","date_gmt":"2017-05-16T09:34:30","guid":{"rendered":"https:\/\/blog.binarybits.net\/?p=850"},"modified":"2017-05-17T13:21:31","modified_gmt":"2017-05-17T07:51:31","slug":"refresh-web-part-without-refreshing-page-sharepoint","status":"publish","type":"post","link":"https:\/\/blog.binarybits.net\/refresh-web-part-without-refreshing-page-sharepoint\/","title":{"rendered":"Refresh web part without refreshing page in SharePoint"},"content":{"rendered":"
The following code shows how to refresh web part without refreshing page in SharePoint.<\/p>\n
\/\/ Set Ajax refresh context\r\nvar eventAjax = {\r\n currentCtx: ctx,\r\n csrAjaxRefresh: true\r\n};\r\n\/\/ Initiate Ajax Refresh on the list\r\nAJAXRefreshView(eventAjax, SP.UI.DialogResult.OK);\r\n<\/pre>\n