to display image in modal pop
<p>I have a requirement where when a user clicks on the details view thumbnail image, then I need to pop up an image in a modal control along with data.</p>

<p>Right now my code is like this:</p>

<pre><code>&lt;asp:DataList ID="gvImages" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
            Width="100%"&gt;
            &lt;ItemTemplate&gt;
                &lt;a href="javascript:void(window.open('&lt;%# "FullImage.ashx?ImID="+ Eval("ImageID")%&gt;','_blank','toolbar=no,menubar=no'))"&gt;
                    &lt;asp:Image ID="Image1" runat="server" ImageUrl='&lt;%# "ThumbNailImage.ashx?ImID="+ Eval("ImageID")  %&gt;' /&gt;
                &lt;/a&gt;
            &lt;/ItemTemplate&gt;
            &lt;ItemStyle BorderStyle="Double" BorderWidth="2px" HorizontalAlign="Left" VerticalAlign="Top"
                Width="20%" /&gt;
                &lt;/asp:DataList&gt; 
</code></pre>

<p>I am using filehandler file to convert images into a thumbnail image while showing in the datalist control.  But once the user clicks the thumbnail image I need to show the image in a modal control.</p>

<p>I tried doing this concept in jQuery light box but there is a problem when we immplement it in the master page.</p>
