CRM 2016 IFrame_A嵌入 EXT.net 页面 a.aspx,刷新另一IFrame_B嵌入 b.aspx gird.

说白了就是一个IFrame页面,执行另一IFrame页面的函数。

  a.aspx JS:
parent.Xrm.Page.getControl("IFRAME_B").getObject().contentWindow.RefreshSelf();
//"IFRAME_B" 为 CRM 窗体中 IFRAME ID。
//"RefreshSelf" 为 b.aspx 页面中定义函数。

 b.aspx JS:

var RefreshSelf = function () {
App.gridpanel.store.load();
}

 

猜你喜欢

转载自www.cnblogs.com/BinBinGo/p/9887323.html