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.
Below is the code for the RadAjaxManager
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
>