<pre> <asp:ListView ID="ListView1" runat="server" OnItemDataBound="ListView1_ItemDataBound" OnItemCommand="ListView1_ItemCommand"> <ItemTemplate> <tr onclick="playfunction();" class="trclass" runat="server" id="trclass" style="cursor: pointer; width:100%;height:10%"> <td>......code...</td> <td> <asp:LinkButton ToolTip="Play Recording" runat="server" ID="btnPlay" CommandArgument='<%# Eval("Filename")%>' CommandName="Play" OnCommand="btnPlay_Command" /> </td>
<script type="text/javascript"> function playfunction() { document.getElementById('btnPlay').click; <%-- // document.getElementById('<%= btnPlay_Command.ClientID %>').click--%> } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)