no Ad shown on return to page

Jun 1, 2012 at 1:18 PM

My scenario: I navigate to my page that includes the AdRotatorControl. Everything is fine. When I navigate to another page and then return back to my page no Ad is shown. Debugging it, I find the reason in the Invalidate method which returns immediately in the if (!_loaded || !_initialized) clause.

What can I do about it?

Thanks
Hans-Peter

 

Coordinator
Jun 6, 2012 at 9:12 PM

In the implementation instructions provided in the documentation section we recommend you call the "Invalidate" in the "onLoaded" and/or "OnNavigatedTo" methods of your page.

This is just because of how Silverlight caches pages / controls on returning to the page.

Check the sample and they will show you in more detail