D
dddan
Here's my code:
<asp:LinkButton
OnClick="DeleteFile"
OnClientClick="if (!confirm ('Are you certain you want to delete
this file?') ) return false;"
runat="server"
ID="DeleteButton">DELETE
</asp:LinkButton>
Now, this works fine in FireFox but in IE7 on Vista it deletes the
file whether the user hits OK or Cancel. Any guidance/ideas?
Thanks!
<asp:LinkButton
OnClick="DeleteFile"
OnClientClick="if (!confirm ('Are you certain you want to delete
this file?') ) return false;"
runat="server"
ID="DeleteButton">DELETE
</asp:LinkButton>
Now, this works fine in FireFox but in IE7 on Vista it deletes the
file whether the user hits OK or Cancel. Any guidance/ideas?
Thanks!