Tuesday, October 30, 2012

Refreshing a Web Resource on a form - CRM 2011


How I refresh a html web resource is as follows in a form's OnChange event is as follows.
var someOnchangeEvent = function(){
    var wrControl = Xrm.Page.ui.controls.get("nameofwebresoucecontrol");
    wrControl.setSrc(wrControl.getSrc());
}

No comments:

Post a Comment