logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • kamal
    • Posted on Thu 30 Nov 2006

    Hi Jack This article is really good.I have a little problem getting this executed though.I am working in asp.net1.1 and i have button on which i am trying to bypass the onBeforeUnload event.But it keeps giving me error.Here is the code i am using.

    <asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 387px; POSITION: absolute; TOP: 201px" runat="server" Text="Button" onclick="isDocBeingSubmitted = true;document.forms[0].submit();"></asp:Button>

    and the error i am getting is "CS1026: ) expected"

    Can you help me on this.

    Thanks Kamal

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: