Detect click events outside div inside usercontrol
<p>I have a div inside a user control that is displayed by the user after some event.<br>
I want to hide this div when user clicks anywhere elese on the page but not on the div (or not on any element that is inside the div).</p>

<p>If it wasn't a user control I could use body's clieck event to check the target,
but because this is usercontrol that is hosted by other page I can't just "play" with it's elements.</p>

<p>How can I achieve that without using body of the hosting page? </p>
