Zoom ( Enlarge image ) on MouseOver in ListView Image Gallery using ASP.Net

Last Reply on Feb 18, 2013 12:49 AM By Mudassar

Posted on Feb 17, 2013 11:28 PM

http://aspsnippets.com/Articles/Image-Gallery-using-ASP.Net-GridView-control.aspx

used the css and html from the above sample code  , but instead of the actual image i get loader image

i am using datalist to display image

 

 

<asp:ListView ID="ListView1" runat="server">
            <LayoutTemplate>
                <ul class="ProductList">
                    <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
                </ul>
            </LayoutTemplate>
            <ItemTemplate>
                <li onclick="return LoadDiv(this.src);">
                    <asp:Image ID="Img1" runat="server" ImageUrl='<%#"../images/"+Eval("photo")%>' Height="200px"
                        BorderStyle="Double" Width="150px" /><br />
                    <br />
                </li>
            </ItemTemplate>
            <EmptyItemTemplate>
                <div>
                    Sorry! No Item found found.
                </div>
            </EmptyItemTemplate>
        </asp:ListView>

 

This question does not have replies that have been liked.