I have added my rad grid inside radwindow and radwindow is place inside asp:UpdatePanel. whenever i click on the page link or change the page size or do filter or sorting, it will cause a full postback and radwindow will be closed. Opening the radwindow again, will reflect the change, like grid will reflect the filter result, etc.
how do i prevent this from happening.
my code
01.<asp:UpdatePanel ID="uPResponder" runat="server" UpdateMode="Conditional">02. <ContentTemplate>03. <asp:Button ID="btnOpenModal" runat="server" Text="Select user" />04. <asp:Label ID="lblUserCount" runat="server"></asp:Label>05. <telerik:RadWindow RenderMode="Lightweight" ID="modalPopup" runat="server" CenterIfModal="true" Width="1400px" Height="650px" Modal="true"06. OffsetElementID="main" Style="z-index: 100001;" OnClientClose="countSelected">07. <ContentTemplate>08. <telerik:RadGrid RenderMode="Lightweight" ClientIDMode="AutoID" CssClass="table" AutoGenerateColumns="false" ID="gvUsers" AllowFilteringByColumn="True" AllowSorting="True" Width="100%"09. AllowPaging="True" runat="server" AllowMultiRowSelection="true" OnPreRender="gvUsers_PreRender" OnItemCommand="gvUsers_ItemCommand" OnNeedDataSource="gvUsers_NeedDataSource">10. <PagerStyle Position="TopAndBottom" Mode="NextPrevAndNumeric" PageSizeControlType="RadDropDownList" />11. <MasterTableView DataKeyNames="LoginName" ShowHeader="true" EnableNoRecordsTemplate="true" ShowHeadersWhenNoRecords="true" NoMasterRecordsText="No user found">12. <Columns>13. <telerik:GridTemplateColumn HeaderStyle-Width="10px" AllowFiltering="false" AllowSorting="false" UniqueName="UserCheckbox">14. <HeaderTemplate>15. <asp:CheckBox ID="chbCheckAll" AutoPostBack="true" runat="server" OnCheckedChanged="chbAll_CheckedChanged" ClientIDMode="AutoID" /> 16. </HeaderTemplate>17. <ItemTemplate>18. <asp:CheckBox ID="chbUser" runat="server" AutoPostBack="True" CausesValidation="false" Checked='<%# bool.Parse(Eval("isChecked").ToString()) %>'19. OnCheckedChanged="chbUser_CheckedChanged" ClientIDMode="AutoID" />20. </ItemTemplate>21. </telerik:GridTemplateColumn>22. <telerik:GridBoundColumn DataField="Name" HeaderText="Name" ShowSortIcon="true"23. AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"24. ShowFilterIcon="true">25. </telerik:GridBoundColumn>26. </Columns>27. </MasterTableView>28. </telerik:RadGrid>29. </ContentTemplate>30. </telerik:RadWindow> 31. </ContentTemplate>32.</asp:UpdatePanel>