var someOnchangeEvent = function(){ var wrControl = Xrm.Page.ui.controls.get("nameofwebresoucecontrol"); wrControl.setSrc(wrControl.getSrc()); }