How can i redirect the page within the popup window

  •  09-26-2008, 6:32 PM

    How can i redirect the page within the popup window

    Hello,
    I was writing a custom control embedded in CuteEditor in page(A.aspx). The button pop up a dialog window with contents linked to another page(B.aspx).
     
    I want to make another button(O) on page(B.aspx) that the click event of that button redirect the page(B.aspx) to page(C.aspx).
    The page(C.aspx) have to be placed in the same popup window we just open.
    I tried to attach "window.location = C.aspx" to the onclick event of button(O)  but it doesn't work.(the page just directs to itself)
    if I use "window.top.location ", the page(A.aspx) will be refreshed.
     
    Could anyone please give me some suggesion??
    Thanks
View Complete Thread