Javascript function not working after postback?
<p>Here i am trying to increase the height of the iframe after postback but it is not working and the alert itself is not popping up.Here is my code</p>

<pre><code>function increaseiframesize() {
alert("aaaaaa");
$('#MainContent_IFTrendAnalysis').height('523');
}   
</code></pre>

<p>and </p>

<pre><code>protected void lnkBTNSubmit_Click(object sender, EventArgs e
{
TextBox txtTextBoxRetailGroup   = (TextBox)uscRetailParameters.FindControl("txtRetailCustomerGroup");
TextBox txtTextBoxPPGroup       = (TextBox)uscRetailParameters.FindControl("txtProductGroup");
if (txtTextBoxRetailGroup.Text != string.Empty &amp;&amp; txtTextBoxPPGroup.Text != string.Empty &amp;&amp; txtATrendStartDate.Text != string.Empty &amp;&amp; txtATrendEndDate.Text != string.Empty)
{
this.IFTrendAnalysis.Attributes.Add("src", "");
ScriptManager.RegisterStartupScript(this, this.GetType(), "ScriptRegistration", "increaseiframesize();", true);
}
}
</code></pre>

<p>and</p>

<pre><code>&lt;asp:UpdatePanel ID="Update" runat="server" UpdateMode="Conditional"&gt;
&lt;ContentTemplate&gt;
&lt;iframe id="IFTrendAnalysis" name="IFTrendAnalysis" scrolling="auto" runat="server"
width="100%" height="403" frameborder="0"&gt;&lt;/iframe&gt;
&lt;/ContentTemplate&gt;
&lt;Triggers&gt;
&lt;asp:AsyncPostBackTrigger ControlID="imgBTNSalesTrendChart" /&gt;
&lt;asp:AsyncPostBackTrigger ControlID="imgBTNSalesLiftChart" /&gt;
&lt;asp:AsyncPostBackTrigger ControlID="lnkBTNSubmit" /&gt;
&lt;asp:AsyncPostBackTrigger ControlID="imgBTNSalesLiftChart" /&gt;
&lt;asp:AsyncPostBackTrigger ControlID="imgBTNTAEventROI" /&gt;
&lt;asp:AsyncPostBackTrigger ControlID="imgBTNTrendAnalyzeTBL" /&gt;
&lt;/Triggers&gt;
&lt;/asp:UpdatePanel&gt;
</code></pre>

<p>Any suggestion???</p>
