Having just deployed my first website in ASP.NET with use of the Ajax Library I have recently been informed of an error message in IE 7 where I am using an ASP:ImageButton (it works in Firefox and Chrome).
The error message is 'ImageButton1_Click' is undefined. There are probably about 6 or 7 ImageButtons in the whole project and each time I get the same error message but with a different object name.
Having tried ASP:Buttons and ASP:LinkButtons neither of these work too.
I have researched and googled as much as I possiblity can with no solutions. I hate to admit defeat so please can an expert help?
Many thanks in advance.
PS - The "code behind" the button is
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/design/button_green_confirm.png" OnClientClick="ImageButton1_Click" /></form>
Partial Class index
Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButton1.Click
Dim strIsThisDoingMyNut As String
strIsThisDoingMyNut = "Hell Yes!"