Refresh Radgrid inside Radwindows when Radwindows closed and reopen again

2 posts, 0 answers
  1. Ragil
    Ragil avatar
    7 posts
    Member since:
    Sep 2019

    Posted 12 Sep 2019 Link to this post

    Dear All,


    i am new to telerik, especially radgrid. right now i am creating windows popup Employee selector using RadWindows, triggered by button show employee, and then calling another page with radgrid showing Employee record include filter on and paging, it's worked perfectly. But, there some error that i faced, everytime i'm doing filtering or paging on radgrid, after i clicked button close on popup radwindows and then i've clicked button show employee again, popup open but with previously action state that i've done on grid, either filtering or paging.

    How can i refresh Radgrid into original state, like first time opening popup and showing radgrid data without filtering or paging state ? 


    <%@ Register TagPrefix="UC" TagName="UCEmploye" Src="../SIM/UcEmployeeBrowser.ascx" %>
    <asp:Button ID="btnSearch" runat="server" Text="..." OnClick="btnSearch_Click" CausesValidation="false" CssClass="btn btn-primary" Height="28px" ToolTip="Click here to browse employee" />
    <telerik:RadWindow ID="RwEmployeeBrowser" runat="server" Width="1200px" Height="550px" KeepInScreenBounds="true" Title="Select Employee">
            <UC:UCEmploye ID="UCEmploye" runat="server" />
  2. Attila Antal
    Attila Antal avatar
    514 posts

    Posted 17 Sep 2019 Link to this post

    Hi Ragil,

    Try setting the DestroyOnClose property to True, so when the Window is closed, its object is destroyed and opening it again will open a new one.

    Here is a Blog post discussing the Common RadWindow issues and their solution

    Kind regards,
    Attila Antal
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top