please forget displaying of datalist that is not my question
i have used javascript to display panel but the problem is that after clciking th button display the panel will appear and disappear
<asp:LinkButton ID="btnDisplayPanel" runat="server" >View Comments</asp:LinkButton>
<asp:Panel ID="Panel1" runat="server" Style="display: none">
/////
454534534534534534534
</asp:Panel>
<script type="text/javascript">
$(function () {
$('[id*=btnDisplayPanel]').on('focus', function () {
$('[id*=Panel1]').show();
});
});
</script>
i dont need to display datalist or lable just the panel , but my javascript is not working well