UI goes blank for a second when bringing up Modal Pop Up Extender
<p>I have an asp.net repeater and it has an edit button which brings up a Modal Pop Up extender (MPE) where a user enters modified values and then submits the changes in the MPE. When the MPE appears after the Edit button in the repeater is clicked - the whole page is reloaded - because the screen goes blank for a second and then gets re-populated. Is this the Page_load firing due to the action in the repeater? If so, can I prevent this. Here is the related code:</p>

<p>aspx page:</p>

<pre><code>&lt;td&gt;&lt;asp:ImageButton runat="server" ID="imgBtEdit" ToolTip="Edit" AlternateText="Edit" CommandName="Edit" CommandArgument='&lt;%#DataBinder.Eval(Container.DataItem,"Id")%&gt;' ImageUrl="~/css/images/icon.png"/&gt;&lt;/td&gt;
</code></pre>

<p>Code Behind:</p>

<pre><code> protected void REPEATER_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
          if (e.CommandName == "Edit")
            {  
               MPExtender.Show();            
            }
        }

 protected void Page_Load(object sender, EventArgs e)
        {

           if (!IsPostBack)
            {
                List&lt;T&gt; lst = GetList();              
                REPEATER.DataSource = lst;
                REPEATER.DataBind();
            }
        }
</code></pre>
