title: How to hide silverlight control inside CRM with javascript call?
body: <p>In crm i'm rendering a Silverlight control to render some tasks in a pretty look and feel for the current entity.</p>
  
  <p>I was wondering how I can hide the Silverlight control when there are no tasks...</p>
  
  <p>When there are no tasks, the Silverlight control shows nothing. But the space that is reserved for the silverlight object remains in the html. </p>
  
  <p>How can I achieve this? Is there some sort of method like</p>
  
  <p>Application.Current.Host.Content.Hide() ... ?</p>