ImageButton with PostBackUrl responds after the second click issue
<p>Hello i have a problem with my Imagebutton i have to double click just to get it to post any one know how i can fix it so i only have to click it once to get a response?</p>

<p>thank you for your help!</p>

<pre><code>&lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="&lt;%$ ConnectionStrings:smokeshopConnectionString %&gt;" 
            ProviderName="&lt;%$ ConnectionStrings:smokeshopConnectionString.ProviderName %&gt;" 
            SelectCommand="SELECT ProductID, Name, Description, Price, ImageUrl FROM products"&gt;&lt;/asp:SqlDataSource&gt;
        &lt;asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"  
        RepeatDirection="Horizontal"         
         DataKeyField="ProductID"   &gt;
        &lt;ItemTemplate&gt;        
                &lt;div style="border-style:dotted; border-color:WhiteSmoke;"&gt;                    
                &lt;a onclick="popup('popUpDiv')" href="#" &gt;&lt;asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='&lt;%# Eval("ImageUrl", "Images\\{0}") %&gt;' PostBackUrl='&lt;%# Eval("ProductID", "Default5.aspx?ProductID={0}") %&gt;' /&gt;&lt;/a&gt;&lt;br /&gt;       

                &lt;asp:Label ID="NameLabel" runat="server" Text='&lt;%# Eval("Name") %&gt;'&gt;&lt;/asp:Label&gt;&lt;br /&gt;               
                &lt;/div&gt;
        &lt;/ItemTemplate&gt;

    &lt;/asp:DataList&gt;
</code></pre>
