I used RadAjaxManager,RadAjaxLoadingPanel,RadTabstrip,RadGrid..scriptmanager
In pageveiw contain grid ,dropdown and button.
When i click on one control before it's processing done i click on another control it gives me the error as
Microsoft JScript runtime error: Sys.InvalidOperationException: A control is already associated with the element.
13 Answers, 1 is accepted
Thank you for the reply. I have removed my ASp.NET AJAX script manager and placed RadScriptManager.
Microsoft JScript runtime error: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
If I click on 'Continue' then it gives me next error as:
Microsoft JScript runtime error: Sys.ScriptLoadFailedException: The script '/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager2_HiddenField&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2008.1.619.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a4364035f-7a19-4477-bb96-de2f05499ebe%3a393f5085%3a9703c1f0%3aa3f85c94%3af2a57eb7%3aa9723048%3a39249aa4%3a34f9d57d%3ac6335cbd%3a526d426%3a80c4ad6d%3a527acb41%3a577694e5' failed to load. Check for:
Let me explain you what actually I am doing.
I have a RadGrid inside a RadTabstrip.
I have .net Dropdown and .net Imagebutton (Refresh) controls as well on the page.
On change of dropdown or on click of 'Refresh' button grid is getting filled.
On click of 'Refresh' button I am showing a Loading Panel on the Radgrid (On change of dropdown no LoadingPanel I am showing).
I have added 'Refresh' button in RadAjaxManager
<telerik:RadAjaxManager ID="rdAjaxManagerHistoryGrid" runat="server" EnableAJAX="true"
<telerik:RadAjaxLoadingPanel ID="LoadingPnlCustom" runat="server"
<asp:Image ID="imgCustom1" runat="server"
Now problem comes when I change option in Dropdown and immediatly (almost at the same time) on Refresh button. The same error I am facing on other tabs also ( If I am clicking two controls almost at the same time) for the similar scnerio.
Can you please help me out?
Could you please try the following:
- go to your web.config and delete the whole <httpHandlers> section
- click on the smart tag on your RadScriptManager and then select Register Telerik.Web.UI.WebResource.axd.
Let us know whether this helps.
the Telerik team
Thanx for the reply.
But I am still facing this issue. What could be missing?
Please send us a simplified working version of your project illustrating this issue via regular support ticket. We need to examine and debug your code locally in order to give you straight-to-the-point answer.
the Telerik team
I have the same problem. Did you find any solutions to the problem?
Please provide more details on your scenario - we need to know which controls are involved, which version and so on. Also it may be helpful if you attach an example project (via support ticket) as I suggested before.
Regarding your question: Actually Hrushikesh never sent an project to us and thus we don't know what exactly caused his issues.
the Telerik team
I am trying to create a RadDock dynamically on an .aspx Page and further adding a Control(.acsx) in RadDock. The .acsx Control has a dynamicly RadDatePicker and RadComboBox in it.
In that Page, I need to repopulate the RadDock with Control when the RadDock moves from a RadDockZone to other RadDockZone .
I am try create this page with help of example that is published on the telerik site(Dynamically add Raddock)
I am getting some errors when I am trying to do so:
4.(missing : after property id) Sys.Application.add_init(
There is the code I am using to add the control in the RadDock
Control widget = (Control)LoadControl(TagArr1[
Please let me know, how I can I avoid these errors?
Thank in advance
I believe you have reported such a problem before in another forum thread. The issue seems to be caused by the following code line:
The ID returned contains "-" which cannot be used in an ID for ASP.NET control. We should therefore replace the "-" character with a "legal" one. The following code line replaces it with an "a":
I assume that one of our RadDock examples have led you to the problem. We apologize for the inconvenience, and we will fix it as soon as we can.
the Telerik team
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8)
Timestamp: Tue, 19 Apr 2011 15:00:50 UTC
Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
Message: Sys.ScriptLoadFailedException: The script '/SDX.Web.UI.UFS.Revenues.Billing/ScriptResource.axd?d=Aeaa85Q47-wuAdce6iMdA_ELChY3AhaX51-DU-Ty6vVJPsdbGQgSGObgmISPHXZGFzWbS8HRFcPWxZIlYi3xzrfR-pOpm4awJH9iPyUd_pX-OfCPXWGiiFsJIvsbkAmWHd5Rog2&t=49ac879' failed to load. Check for:
Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
Missing call to Sys.Application.notifyScriptLoaded().
This person said they used an alternative of disabling cache but that doesn't fix the issue for us. Any help please?
The inconsistent errors:
"Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered."
"Message: Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered."
"Message: Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxEventArgs has already been registered."
"Message: Sys.InvalidOperationException: Type Telerik.Web.UI.RadAjaxControl has already been registered."
Im facing the same issue as mentioned by the other user. We are getting this error only for few users. What could be the reason and how to resolve it ?
You can find a list of possible reasons for such errors in the following forum thread: http://www.telerik.com/forums/telerik-web-ui-orientation-has-already-been-registered-with-raddock-as-a-popup#M3QrOSTkhECEy2-XV9iQKg
If you are still having difficulties after checking the linked post, please try isolating the problematic scenario in a fully runnable sample and send it via a support ticket so that I can inspect it on my end.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.