title: WP7/Silverlight: how to disable/remove adctrol from visual tree
body: <p>I am building a app that supports trial and I want to show ads in trials and no ads in paid. Upon investigation I found that the only way to disable the ads for paid version is to remove the adcontrol completely from the visual tree. </p>
  
  <p>Now my question is how do I remove the adcontrol from my visual tree in my code when I detect it is a paid version and not a trial. Can you please help? </p>
  
  <pre><code>    &lt;Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,0,0"&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto" /&gt;
          &lt;RowDefinition Height="Auto" /&gt;
          &lt;RowDefinition Height="Auto" /&gt;
          &lt;RowDefinition /&gt;
          &lt;RowDefinition Height="Auto" /&gt;
      &lt;/Grid.RowDefinitions&gt; 
  &lt;Grid Grid.Row="0"&gt;          
      ...
      &lt;/Grid&gt;    
       &lt;Grid Grid.Row="1"&gt;
         ...
      &lt;/Grid&gt;    
       &lt;Grid Grid.Row="2"&gt;
   &lt;ad:AdControlx:Name="itemAds" .../&gt;
     &lt;/Grid&gt;
  &lt;/Grid&gt;
  </code></pre>