I am using a nested datalist , in the child datalist2 i'm having a linkbutton to download a mp3 file. Also I have another linkbutton onClick download counter is incremented by 1.
What I want is to have download link to mp3 file and download click counter in one linkbutton .... So that when user clicks the linkbutton mp3 is downloaded as well as counter is incremented by 1.
I am not able to achieve both from one linkButton.
<asp:LinkButton CssClass="LinkNauha" OnClick="DownloadFile" ID="lnkDownload" Text='<%# Eval("title") %>' CommandArgument='<%# Eval("url") %>'
runat="server"></asp:LinkButton>
<asp:LinkButton ID="LnkCounter" Text='<%# Eval("title") %>' runat="server" CommandArgument='< ...
Go to the complete details ...