resize automatically iframe hieght
<p>i include a iframe in master page and i want to resize iframe height according to its contents inside.</p>

<p>when ever iframe content increase iframe height should be increase.</p>

<pre><code>&lt;div id="div_NotificationOuter" style="position: fixed; bottom: 0px; right: 15px;
            padding: 5px; background-color: White; background-image: url('../images/content_fixed_downup.png');
            background-repeat: no-repeat; min-height: 130px; text-align: left; display: block;
            border: 1px solid gray; width: 280px; overflow: hidden;"&gt;

    &lt;asp:ImageButton ID="img1b" runat="server" ImageUrl="../images/close.png" 
                Style="margin-right: 2px;float:right;" OnClientClick="Hide_NotifyPopUp()" /&gt;
</code></pre>

<p>
                    
                    ALERTS
                    
                    
                
    
        
            <p>
                Your browser does not support iframes.</p>
        
    
    </p>

<p>and iframe page is</p>

<pre><code>&lt;div id="iframe_content"&gt;
        &lt;div style="overflow: auto;font-weight:bold " &gt;
            &lt;label id="lblNotifyMessage" runat="server" style="margin-left:15px;"&gt;

            &lt;/label&gt;
        &lt;/div&gt;
        &lt;div style="font-size: 14px;margin-left:15px;"&gt;
            &lt;asp:Label ID="lblCount_Followups" runat="server" Text=""
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="lblCount_Workflow" runat="server" Text="" 
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="lblCount_Inbox" runat="server" Text=""
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Timer ID="Timer1" runat="server" Interval="111115000"&gt;
            &lt;/asp:Timer&gt;

            &lt;asp:Label ID="Label1" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label2" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label3" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;


            &lt;asp:Label ID="Label4" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label5" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label6" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;


            &lt;asp:Label ID="Label7" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label8" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
            &lt;asp:Label ID="Label9" runat="server" Text="Notification Message"
                Style="margin: 2px"&gt;&lt;/asp:Label&gt;&lt;br /&gt;

        &lt;/div&gt;
        &lt;/div&gt;
</code></pre>
