I make a polling and want to popup the result immediately by window.open function after partial postback (updatepanel). But the popup is blocked by popup blocker. How can I fix it?
Here is my code:
protected void btnPollingSubmit_OnClick (object sender, EventArgs e)
{
UpdatePolling();
}
protected void UpdatePolling()
{
// update the polling result
...
...
ScriptManager.RegisterStartupScript(btnPollingSubmit, this.GetType(), "PollingResult", "window.open('polling-result.aspx','','width=200,height=100'), true);
}