<asp:ListView ID="ListView1" runat="server"> <ItemTemplate> <div class="col-lg-3 col-md-6 col-sm-6"> <div class="project-item"> <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("gallery_img") %>' Style="cursor: pointer" onclick="return false LoadDiv(this.src, this);" /> </div><!--project-item end--> </div> </ItemTemplate> </asp:ListView>
<pre><pre><pre>I made a photo gallery. When I run it with datalist, it works fine. When the photo is clicked, a popup opens. But since it is not a responsive layout, I preferred to use Listview. But this time the popup does not open. Is there something triggering in the background, javascript code or onclick doesn't kick in.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)