Data Binding on Advertisements

Topics: Windows Phone 8
Jul 16, 2015 at 10:07 AM
Hi All,

I'm trying to add data binding to the Advertisement URI and TYPE as follows,

                            <ads:RemoteAdSource Uri="{Binding PreRollAd}" Type="{Binding AdType}"/>
I'm trying to implement MVVM.
But throws System Exception on XAML.
Am I doing any wrong, Please guide me.

Karthikeyan Manickam.