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();
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
Post a Comment