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

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

Asp.Net Ending Response options, Response.End() vs CompleteRequest()

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