Friday, April 26, 2013

How to refresh grid from an open record in MSCRM 2011

This is a simple single line of code


window.parent.opener.document.getElementById("crmGrid").control.refresh();
 
In case the above line does not work another way to achieve the same is the code of line below where we are calling the click event of the refresh button on the crm grid

window.parent.opener.document.getElementById("grid_refresh").click();


No comments: