RadWindows Dispose

2 posts, 1 answers
  1. Robert
    Robert  avatar
    68 posts
    Member since:
    Feb 2009

    Posted 13 Oct 2011 Link to this post

    I'm working with the RadWindow, and all is OK - except, on the close of the RadWindow;

    If an unrelated button is clicked on the same web page, the RadWindow re-appears as a popup;

    I'm writing to ask if the RadWindow can be disposed of - after intended utilization;

    The DestroyOnClose, and Dispose, methods did not resolve the issue of the popup window re-appearing after intened use;
    //Set its properties
                   rw1.Width = Unit.Pixel(400);
                   rw1.Height = Unit.Pixel(400);
                   //rw1.NavigateUrl = "http://www.google.com";
                   rw1.NavigateUrl = "PopupFileUpload.aspx";
                   //Make sure that the window will be shown after the postback
                   rw1.VisibleOnPageLoad = true;
                   //Add it to the RadWindowManager's Windows collection

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                     <telerik:RadWindow ID="Window1" runat="server" NavigateUrl="PopupFileUpload.aspx"/> 
  2. Answer
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Oct 2011 Link to this post

    Hello Robert,

    Since you are setting VisibleOnPageLoad property to true it will appear on each postBack.
    You can find the answer from this forum.

Back to Top