i wan to hid this lable if status in table is false and display if true
<asp:Label ID="PLNHid" runat="server" CssClass="glyphicon glyphicon-user" title="." data-toggle="tooltip" Font-Size="Small" ForeColor=""></asp:Label>
<div class="modal fade" id="myModalprofilepopup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" style="height: 600px">
<asp:Image ID="photos" runat="server" ImageUrl='<%# String.Format("BannerImage/{0}",Eval("ImageBanner").ToString()) %>'
class="userphotos media-object animated fadeInDown" Style="width: 100%" />
<a class=" " style="position: absolute; bottom: 40px; top: 102px; left: 9px;">
<div class=" pull-left " style="margin-bottom: 6px; background-color: transparent">
<asp:Image ID="Image1photo" runat="server" ImageUrl='<%# String.Format("PROFILEPHOTOS/{0}",Eval("ImageName").ToString()) %>'
class="userprofilepgoto img-responsive2 img-thumbnail animated fadeInDown img-circle"
Style="width: 35%" />
</div>
</a><a class=" pull-left" style="margin-left: 160px; margin-top: 2px; margin-bottom: 2px">
<asp:Label ID="Namepro" runat="server" Text='<%# Eval("Name") %>' Font-Bold="True"
CssClass="namepro" Font-Size="Larger" ForeColor="Black" />
<asp:Label ID="UserName" Text='<%#Eval("UserName") %>' runat="server" CssClass="username" />
<asp:Label ID="PLNHid" runat="server" CssClass="glyphicon glyphicon-user" title="."
data-toggle="tooltip" Font-Size="Small" ForeColor=""></asp:Label>
</a>
<asp:Label ID="lblGallaryId" Text='<%#Eval("UserId") %>' runat="server" Font-Size="XX-Small" />
<div id="modalbody5" class="modal-body">
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$('[id*=btncall]').on('click', function () {
var id = $(this).closest('span').find('[id*=lblGallaryId]').html();
$.ajax({
type: "POST",
url: "Timeline.aspx/GetGallery",
data: '{id:"' + id + '"}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (response) {
$(".userphotos").attr('src', 'BannerImage/' + response.d[0].photos);
$(".userprofilepgoto").attr('src', 'PROFILEPHOTOS/' + response.d[0].Image1photo);
$(".namepro").html(response.d[0].Namepro);
$(".username").html(response.d[0].UserName);
$('#myModalprofilepopup').modal('show');
},
failure: function (response) {
alert(response.d);
},
error: function (response) {
alert(response.d);
}
});
return false;
});
});
</script>