Closing Pop up Radwindow

2 posts, 1 answers
  1. getset
    getset avatar
    7 posts
    Member since:
    Nov 2010

    Posted 04 Nov 2010 Link to this post


    I have a button(addproduct) on my Product.aspx page and when I click on that button I get a pop up window(radwindow) whose url points to some other page(productsearch.aspx) which has a cancel and save button. Now, What I need to do is, when I click the cancel button, the popup window should close and I should be back on the product page without losing whatever data I already have in the product.aspx page.
    I need to do this on the client side so I have to use javascript. The code which I have for the window popup is

    function openWin(){
    var oWnd = radopen("../product/Productsearch.aspx","productsearchwindow");
    return false;

    the productsearchwindow is the id of the radwindow and I call the openWind() function on the onclientlclick event of the addproduct button on product.aspx page

    I probably have to write some javascript in the productsearch.aspx page as the save button is in that page and the popup url points to this productsearch page.

     Can anyone help me in writing the js code.

    Thank You,

  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 04 Nov 2010 Link to this post

    Hi GetSet, 

    You've added this to the WinForms forums and I think you need the forums. May I suggest re-adding your post to the other forum. 
Back to Top