I have been fighting this issue for the last few hours and can't come up with a viable solution. I have a grid on a content page (inside a master page) along with a hidden button, both inside an UpdatePanel. I have a button outside the UpdatePanel that triggers a SubModal window to pop up. When you have opened the SubModal, done the associated processing with it, it then calls window.top.__UpdateGrid() which is a function that is supposed to cause an Async PostBack to occur. I have tried using the following:
document.getElementById('<%= cmUpdate.ClientID() %>').click();
Page.ClientScript.GetPostBackEventReference(cmUpdate, "") [assigning the output of this directly to a JS function and having it write to a Literal as well]
__doPostBack('ctl00_ContentPlaceHolder1_cmUpdate', null);
window.setTimeout('__doPostBack(\'ctl00_ContentPlaceHolder1_cmUpdate\', null)', 0); [I occasionally would get a script timeout error in FF so I tried this option]
It seems that no matter what I try, FireFox isn't going to allow me to update the grid asynchronously. All I need is to have the button be clicked without posting back and the rest of my code runs exactly as I want it to. Does anyone have any suggestions?