user2719830
user2719830

Reputation: 217

ASP.NET Linkbutton not firing click event

When I click on the linkbutton nothing fires. Here is the code:

 protected void AccessFile_Click(object sender, EventArgs e)
    {

        App_Code.bi.LogFileDownload("Access Fact Sheet", Session["UserID"].ToString());

    }

html

 <asp:LinkButton ID="AccessLink" runat="server" OnClick="AccessFile_Click" OnCommand="AccessLink_Command" Text="<img src='img/pdf_icon.png' border='0' />"></asp:LinkButton>

Upvotes: 1

Views: 2367

Answers (1)

user2719830
user2719830

Reputation: 217

I figured it out, somehow there were 2 form tags....... :(

Upvotes: 3

Related Questions