how to enlarge image and display in a photo window
<p>when you click the image button from the gridview  and display the enlarge image into window photo. </p>

<p>below is my code...actually it is working..but the problem is that i dont know how to enlarge the image...thank u for sharing ur knowledge...i appreiate well...</p>

<pre><code>&lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
        DataKeyNames="P_No" DataSourceID="SqlDataSource1"
        style="margin-left:115px" AllowPaging="True"
        onselectedindexchanged="GridView1_SelectedIndexChanged"&gt;
        &lt;Columns&gt;
            &lt;asp:BoundField DataField="P_No" HeaderText="P_No" ReadOnly="True"
                SortExpression="P_No" ItemStyle-BackColor="#FFFF66" ItemStyle-HorizontalAlign="Center"                         
ItemStyle-VerticalAlign="Middle" HeaderStyle-BackColor="#EAEA00" /&gt;
            &lt;asp:BoundField DataField="Model" HeaderText="Model" SortExpression="Model" ItemStyle-    
BackColor="#FFFF66" HeaderStyle-BackColor="#EAEA00" /&gt;
            &lt;asp:BoundField DataField="Price(Php)" HeaderText="Price(Php)"
                SortExpression="Price(Php)" ItemStyle-BackColor="#FFFF66" HeaderStyle-BackColor="#EAEA00" /&gt;
            &lt;asp:BoundField DataField="ImageFilename" HeaderText="ImageFilename"
                SortExpression="ImageFilename" ItemStyle-BackColor="#FFFF66" HeaderStyle-BackColor="#EAEA00" /&gt;

        &lt;asp:TemplateField HeaderText="Images" HeaderStyle-BackColor="#EAEA00" &gt;
           &lt;ItemTemplate&gt;
               &lt;!--&lt;asp:Image ID="Image1" Height="50px" Width="60px" runat ="server" ImageUrl='&lt;%#Eval("ImageFilename","~/Images/{0}") %&gt;' /&gt; --&gt;
               &lt;asp:ImageButton ID="ImageButton1" runat="server" Height="50px" Width="60px" ImageUrl='&lt;%#Eval("ImageFilename","~/Images/{0}") %&gt;'   /&gt;
          &lt;/ItemTemplate&gt;
       &lt;/asp:TemplateField&gt;

       &lt;/Columns&gt;
    &lt;/asp:GridView&gt;

        &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="&lt;%$ ConnectionStrings:DatabaseConnectionString %&gt;"
        SelectCommand="SELECT * FROM [DevelopTbl]"&gt;&lt;/asp:SqlDataSource&gt;
</code></pre>
