We started facing issue in one of our organization after it is upgraded to Polaris. In oportunity form we have used attach event to attach onrefresh event to subgrid to refresh opportunity form after doing any modification in line items.
var ProductSubgrid = document.getElementById(“opportunityproductsGrid”);
ProductSubgrid.attachEvent(“onrefresh”, FunctionName);
So I tried to check if someone else is facing this issue and found this thread which helped me to fix this issue, we have to do below changes to make it work in Polaris
var ProductSubgrid = document.getElementById(“opportunityproductsGrid”);
ProductSubgrid.control.add_onRefresh(ReLoadOpportunity);
After this it's working fine.
Hope it will help somebody !!


Mahender PalTOP 100Posted Mar 28, 2013, 1:15 AM EDT
Thank you Mahesh, it's my pleasure to be here...sure we will talk soon.
Mahesh ChandTOP 10Posted Mar 27, 2013, 4:15 AM EDT
Welcome to C# Corner Mahendar. Good to see you on C# Corner. Let's plan to talk soon.