I just take a timer control to refresh update panel on timed interval . Its working fine on local system but when i published code on server, its not working . I am not getting any error on page but update panel is not refreshing on timed interval . and
when i open browser error console window i see the follwing error many times
My Timer Interval is 1 sec. So every second request goes to server and Update panel should refreshed . but might be round trip time is more then 1 sec. So before refresh the update panel another request is gone from page. I thing i am doing some mistake
. please try another solution if you are trying the same.
it is working in locally on all browsers but when i am putting this to server it is not working in IE but is working in chrome and FirFox, so please help me out from this problem?
Participant
760 Points
305 Posts
Asp:Timer & ajax Update panel not working on server.
Jun 01, 2012 08:31 AM|shwetamber|LINK
Hello ,
I just take a timer control to refresh update panel on timed interval . Its working fine on local system but when i published code on server, its not working . I am not getting any error on page but update panel is not refreshing on timed interval . and when i open browser error console window i see the follwing error many times
com is undefined
chrome://vidbar/content/downloader.js
Thanks & Regards
Shwetamber
Participant
760 Points
305 Posts
Re: Asp:Timer & ajax Update panel not working on server.
Jun 02, 2012 03:44 AM|shwetamber|LINK
Please do reply anyone ... :(
All-Star
48393 Points
12161 Posts
Re: Asp:Timer & ajax Update panel not working on server.
Jun 03, 2012 11:11 PM|chetan.sarode|LINK
Hi,
Please using ToolkitScriptManager instead of ScriptManager.
And also make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx.
</div>Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.
All-Star
39821 Points
4269 Posts
Re: Asp:Timer & ajax Update panel not working on server.
Jun 05, 2012 04:12 AM|Song-Tian - MSFT|LINK
Hi,
Do you test with IE?
And also post some related code.
Feedback to us
None
0 Points
1 Post
Re: Asp:Timer & ajax Update panel not working on server.
Jun 27, 2012 03:34 PM|shilp|LINK
Having the same issue.
Found any solution?
Participant
760 Points
305 Posts
Re: Asp:Timer & ajax Update panel not working on server.
Jun 28, 2012 01:05 AM|shwetamber|LINK
Hi shilp,
My Timer Interval is 1 sec. So every second request goes to server and Update panel should refreshed . but might be round trip time is more then 1 sec. So before refresh the update panel another request is gone from page. I thing i am doing some mistake . please try another solution if you are trying the same.
Thanks & Regards
Shwetamber
None
0 Points
1 Post
Re: Asp:Timer & ajax Update panel not working on server.
Dec 19, 2013 01:58 AM|V k Singh|LINK
it is working in locally on all browsers but when i am putting this to server it is not working in IE but is working in chrome and FirFox, so please help me out from this problem?
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="2000">
</asp:Timer>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
</Triggers>
</asp:UpdatePanel>
</div>
protected void Timer1_Tick(object sender, EventArgs e)
{
Label1.Text = DateTime.Now.ToString();
}