Gaurav Raj

Gaurav Raj

  • NA
  • 475
  • 88.6k

I want 2 convert div tag into link t have 2 try like

Aug 10 2017 4:08 AM
<div style="margin-top: -30px">
<asp:DataList ID="DataList3" runat="server" Width="100%" >
<ItemTemplate>
<asp:LinkButton runat="server" id="lk12">
<div class="box-footer box-comments" style="display: block; border-top-color:#00FFFF">
<div class="box-comment">
<%--<img class="img-circle img-sm" src="./guy-2.jpg" alt="User Image">--%>
<asp:Image ID="Image1" runat="server" CssClass="img-circle img-sm" AlternateText="photo" ImageUrl='<%# Eval("Pic") %>' />
<div class="comment-text">
<span class="username">
<asp:LinkButton ID="LinkButton1" runat="server" Text='<%# Eval("Name ") %>'></asp:LinkButton>

<span class="text-muted "> <asp:Literal ID="Literal2" runat="server" Text='<%# noti(Eval("action").ToString()) %>'></asp:Literal></span>
<span class="text-muted pull-left">
<asp:Literal ID="LiteralTime1" runat="server" Text='<%# RelativeDate(Convert.ToDateTime(Eval("Time"))) %>'></asp:Literal></span>
</span>
<span style="text-align: justify; font-family: Arial">


</span>

</div>
</div>
</div>
</asp:LinkButton>

</div>
</div>
</ItemTemplate>
</asp:DataList>
<asp:LinkButton ID="LinkButton4" runat="server" align="center" visible='<%# Eval("TotalComment").Equals("3") %>'>See More</asp:LinkButton>
</div>

Answers (1)