I'm calling __doPostback in the onClientClose method and the entire page is "flashing" as it reloads. My code is below. Each commented out section has been tried to the same effect which makes me think the rad code block might be the issue???
function OnClientClose(sender, eventArgs) |
{ |
var toPage = eventArgs.get_argument(); |
if (toPage) |
{ |
// process the arg and route as needed... |
document.location = toPage; |
} |
else |
{ |
var button = document.getElementById('<%=temp.ClientID %>'); |
//button.click(); |
//var pageId = '<%= Page.ClientID %>'; |
//__doPostBack(pageId, 'UpdateCart'); |
// put code in here to update the header and the cart when fired... |
//__doPostBack('tctl00$UpdatePanelCart', ''); |
} |
} |