Register Javascript

Hi I am havin trouble tryin to register
javascript on an asp.net page I am using an aspx page to display whatever .ascx
file has been selected. I am tryin to open a new window using this function on
the aspx page

public void PopupWindow(string url)
{
    string script = string.Format("window.open('{0}', '_blank');", url);
    Page.RegisterStartupScript("OpenWindow", script);
}

but when I try to use it from the .ascx pages it does not open a new window any help or ideas would be appreciated
Thanks
Tim

Hey Tim,
Thank you for your request but we only handle customer issues related to Aspose.Words functioning. Try to post it at a specialized resource such as MSDN forums.

ok thanks for lettin me know anyway