Binary Bits

Bits & Pieces – A blog by Kannan Balasubramanian

  • Home
  • Main Categories
    • Microsoft Articles
    • SharePoint Articles
    • Photography
    • Music
  • About
    • Binary Bits
    • Kannan

Refresh web part without refreshing page in SharePoint

May 16, 2017 / Kannan / 0 Comments

The following code shows how to refresh web part without refreshing page in SharePoint.

// Set Ajax refresh context
var eventAjax = {
    currentCtx: ctx,
    csrAjaxRefresh: true
};
// Initiate Ajax Refresh on the list
AJAXRefreshView(eventAjax, SP.UI.DialogResult.OK);

Source: https://pradiprathod.wordpress.com/2015/05/04/how-to-refresh-list-view-in-sharepoint-2013-using-javascript/

Copyright © 2014 • Binary Bits • Finch Theme