September 21st, 2007, 02:39 PM
[RESOLVED] window.open is not working since AJAX
i had an aspx file, which included this code behind:
it used to open another popup windows, in which i selected some items and save those items...
but since i use AJAX (ScriptManager and UpdatePanels) it gives me a ParserErrorException or somethign like that once it gets to my Response.Write...
how can i get it to work now?
i've read that with ScriptManager.RegisterClientBlock or StartupScript... but when i try it it fails because i use this in my aspx file:
partial class vistas : ExtensionPagina.PaginaBase
and not the system.web.ui page...
so, when i try the above... it stops recognizing me my ScriptManager control...
thanks in advance...
September 21st, 2007, 03:02 PM
Re: window.open is not working since AJAX
i've solved it
for future references:
System.Web.UI.ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "SCRIPT", "window.open('page.aspx')", true);
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.