jquery - how to open images in a listview in a dialog -
i have asp.net listview shows images , when user clicks on images opens in jquery dialog.
here list view:
<div id="images">
> no data returned.
</td> </insertitemtemplate> <itemtemplate> <td id="td4" runat="server" style=""> <a href='<%# eval("img") %>' class="photoshref"> <img id="photoalbumphotos" src='<%# eval("img") %>' alt="image not found" class="photos" /> </a> </td> </itemtemplate> <layouttemplate> <table id="table1" runat="server" border="0" style=""> <tr id="itemplaceholdercontainer" runat="server"> <td id="itemplaceholder" runat="server"> </td> </tr> </table> <div style=""> </div> </layouttemplate> <selecteditemtemplate> <td id="td5" runat="server" style=""> id: <asp:label id="idlabel" runat="server" text='<%# eval("id") %>' /> <br /> img: <asp:label id="imglabel" runat="server" text='<%# eval("img") %>' /> <br /> </td> </selecteditemtemplate> </asp:listview> </div>
how can , thanks
see following link. hope give idea,
http://www.ajaxonomy.com/2011/ajax/jquery-dialog-box-tutorial
you can see full demo code in following url,
Comments
Post a Comment