How can i redirect the page within the popup window

Last post 09-26-2008, 6:32 PM by pyrochlore. 0 replies.
Sort Posts: Previous Next
  •  09-26-2008, 6:32 PM 44338

    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 as RSS news feed in XML