Timer on modal radwindow causes postback on Parent

3 posts, 0 answers
  1. Yogendra
    Yogendra avatar
    7 posts
    Member since:
    Sep 2010

    Posted 13 Nov 2012 Link to this post

    Dear All, 

    I have a page with grid. The grid has a template column wit a hyperlink. I open a modal rad window when I click the link.
    On the window, I need to do 2 things. I have a long running process that updates the DB. I have a asp timer on the window, which queries the server DB and  refreshes the data on window. 

    My problem is, the timer on Window causes postback on the parent page. Although not a postback because it does not actually call the page load on the parent. However we can see the green status bar in the parent page. 
    Something to do with the Ajax manager. I have already ajaxified the timer. 

    I have attached a screenshot of the problem as attachment. 
    Following is the code for my timer on the radwindow.
    <asp:Panel ID="TimerPanel" runat="server">
               <asp:Timer ID="RefreshTimer" runat="server" Interval="1000" OnTick="RefreshTimer_Tick"
               Enabled="true" EnableViewState="False" ViewStateMode="Disabled">
               </asp:Timer>
           </asp:Panel>

    Below is the code for the RadAjaxManager
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="UpdaterLoadingPanel">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="TimerPanel">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="PreviewDiv" LoadingPanelID="UpdaterLoadingPanel" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
  2. Yogendra
    Yogendra avatar
    7 posts
    Member since:
    Sep 2010

    Posted 13 Nov 2012 Link to this post

    I got this working. 
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RM
    RM avatar
    3 posts
    Member since:
    Oct 2012

    Posted 28 Oct 2015 in reply to Yogendra Link to this post

    How? First rule of looking for answers on the internet. If you figure it out, you post your solution.
Back to Top