Postback problem on a submit button !
<p>I have a page that has 4 tables. Initially when the page is loaded, it shows 1 &amp; 2. Thats working fine. On Post back(When Submit is clicked), it should show 3 &amp;4. Even thats working fine(code shown here). When the submit is clicked again, it has to call updatePaymentInfo() and redirect.. Is there something to write as a condition to call UpdatepaymentInfo() because when submit is clicked, it is taking as an other postback and showing me 3 &amp;4 again. </p>

<pre><code>protected void imgbtnSubmit_Click(object sender, ImageClickEventArgs e)
{
    try
    {
        if (Page.IsPostBack)
        {
            trtest.Visible = false;
            trCCandBilling.Visible = true;
            trtest2.Visible = true;
        }
        else
        {
            UpdatePaymentInfo();
            Response.Redirect(ApplicationData.URL_MERCHANT_ACCOUNT_HOME, true);
        }
    }
 }
</code></pre>

<p>Thanks guys!!</p>
