G
Guest
I've added a LinkButton to a repeater control and I set the link button as
follows:
<asp:LinkButton ID="DLLinkButton" CommandArgument='<%#
DataBinder.Eval(Container.DataItem, "DownloadID")%>' Runat=server
CommandName="DLCount" >Download Now!</asp:LinkButton>
When I click this button it dosen't do anything instead of calling the
function I created.
BTW, is this the best way to go about calling the function? I tried putting
in the onClick command the following:
OnClick='<% DLCount(DataBinder.Eval(Container.DataItem, "DownloadID"))%>'
But that didn't work. Any Ideas?
follows:
<asp:LinkButton ID="DLLinkButton" CommandArgument='<%#
DataBinder.Eval(Container.DataItem, "DownloadID")%>' Runat=server
CommandName="DLCount" >Download Now!</asp:LinkButton>
When I click this button it dosen't do anything instead of calling the
function I created.
BTW, is this the best way to go about calling the function? I tried putting
in the onClick command the following:
OnClick='<% DLCount(DataBinder.Eval(Container.DataItem, "DownloadID"))%>'
But that didn't work. Any Ideas?