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

Refresh Quick View From

$
0
0

I have a requirement to Display a Subgrid of Contact (Parent) Address on a child record,

So I decided to go with the Quick View Form, however when the Look up is changed I need to refresh the Quick View form even thou the system refreshes it automatically.

But there is no change in the Subgrid.

I have written a javascript function.

function refreshQuickView()
{
  var quickViewControl = Xrm.Page.ui.quickForms.get("ContactAddress");
	if (quickViewControl != null) 
	{ 
         setTimeout(function () 
	{ 
	quickViewControl.refresh(); 
	}, 900); 
	} 

}

I also tried this to make is easier.

function refreshQuickView()
{
var quickViewControl = Xrm.Page.ui.quickForms.get("ContactAddress");		
quickViewControl.refresh(); 	
}
	

But the only refresh I see is the system refresh.

How can I make the refresh effective so I can see the correct sub-grid records when the contact look up is changed.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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