get height of div from masterpage
<p>How can i get the height of a div tag which is placed inside a masterpage.</p>

<p>im able to set the height as following, </p>

<pre><code>       ((HtmlControl)this.Master.FindControl("sidebar")).Style.Add("height", "600px");
</code></pre>

<p>Now im trying to get the height from my divtag called mainPage, how can i do this ?</p>

<p>thanks in advance</p>
