Compiler Error Message: BC30456: 'NewTemplate_Click' is not a member of 'ASP

  •  07-08-2010, 1:32 AM

    Compiler Error Message: BC30456: 'NewTemplate_Click' is not a member of 'ASP

    <asp:ImageButton id="NewTemplate" BorderWidth="1" Runat="server" AlternateText="[[NewTemplate]]" ImageUrl="../Load.ashx?type=image&file=newtemplate.gif" OnClick="NewTemplate_Click" />
     
    i used the above control in my page and added

    <script language="javascript" type="text/javascript">

    function NewTemplate_Click()

    {

    if(isDemoMode)

    {

    alert(OxO5773[6])

    ;return false;

    }

    </script>
     
    in the head part of the page
    i get the above error
View Complete Thread