SP.UI.ModalDialog call parent javascript expamlpe

1 - put ur script in a function, even if its a simple one, sometimes he wont know how to call it, expamlpe:
function Part3_InvoiceGrid_reloadGrid() {
  $('#InvoiceGrid').trigger('reloadGrid');
}

2 - from the modal window u call it like this (as simple as that):
parent.Part3_InvoiceGrid_reloadGrid();
 

Comments

Popular posts from this blog

c# Service Play Sound with NAudio example by Moshe

JS/JQ simulate Enter event

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem