Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How to control the refresh a page when I update the subgrid

$
0
0

Hello, I have the same problem, I tried the following code and run.

function onLoad() {

 setTimeout("refresh();", 2500);

}

function refresh() {

 Xrm.Page.getControl("contactopportunitiesgrid").addOnLoad(GridOnloadFunction);

}

var GridOnloadFunction = function () {

 Xrm.Page.data.refresh(true);

};

But I have the following problem, the grid refreshes several times, when it should do so only once.

They know how I can control this?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>