In asp.net using C#.net in back end, after click on Add I am adding the stock and closing the window (which I have opened using window.open) using Javascript. Although this works well in other browsers, [in MSIE] if I keep clicking on the Add button it adds multiple stock entries. This is really weird behaviour. Any idea on how I can overcome this.
AddStock(sessionID, stock,perms);
string script = "window.parent.closeIFrame();";
ClientScript.RegisterStartupScript(this.GetType(), "close", script, true);
closeIFrame() is defined on the parent page.