This is a migrated thread and some comments may be shown as answers.

Error on pages now after updating my through the control panel

9 Answers 136 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 01 Jul 2013, 08:59 PM
I am getting this error: Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.ExpandDirection 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.
On all my pages that have the RadTreeView control. Everything was working until I update today through the control panel. Any Ideas?

9 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Jul 2013, 12:43 PM
Hi Matt,

Such an error can happen if the main scripts are registered twice, so you can try removing some other registrations you may have or debugging through your code to see if something is called twice instead of once.

Another thing you can try is using RadScriptManager instead of ASP ScriptManager.

Thanks,
Shinu.
0
Matt
Top achievements
Rank 1
answered on 02 Jul 2013, 02:56 PM
It does work with the RadScriptManager but I am not sure that I should change my script manager just for one control who know what else it may break. Any thoughts?
Matt
0
Bruce
Top achievements
Rank 1
answered on 02 Jul 2013, 03:24 PM
I have the same issue since updating the ASP.NET AJAX controls yesterday. I am currently on v.2013.611.40. I tried creating a web user control with just a RadDropDownList on it, then I assign the control to the UserControlName property of an <EditFormSettings> tag. When I click to edit in the grid I get the error, "... JavaScript runtime error: Sys.InvalidOperationException: Type Telerik.Web.UI.ExpandDirection has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. ...". This was a working project before the update.
0
Matt
Top achievements
Rank 1
answered on 02 Jul 2013, 03:28 PM
Yes that is exactly what happened to me too. All was good until the update.
0
Sean
Top achievements
Rank 2
answered on 03 Jul 2013, 06:19 AM


I am facing same issue from last 2 days. If anyone has solution pls share with us.
0
Bruce
Top achievements
Rank 1
answered on 03 Jul 2013, 02:59 PM
It appears to be an introduced bug explained in this link. It says it is fixed in an internal build. Maybe the internal build should be released. I had to replace my Telerik dropdownlists with ASP dropdownlists in order to get back to work.
0
Sean
Top achievements
Rank 2
answered on 04 Jul 2013, 04:52 AM
Since we didn't get any solution to this issue i have replaced my raddropdownlist with

 

RadComboBox and now everythings works fine for me


Cheers!

0
Matt
Top achievements
Rank 1
answered on 09 Jul 2013, 05:36 PM
Do we have any news on this problem yet? Or should I look for other controls that work?
Matt
0
Bozhidar
Telerik team
answered on 11 Jul 2013, 07:11 AM
Hello,

As stated in the forum post that Bruce pointed out, this problem is a result of a bug that was fixed right after the official release. If you download the latest internal build, the issue will be resolved. We also have an upcoming ServicePack where the fix is also included.
 

Regards,
Bozhidar
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
TreeView
Asked by
Matt
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Matt
Top achievements
Rank 1
Bruce
Top achievements
Rank 1
Sean
Top achievements
Rank 2
Bozhidar
Telerik team
Share this question
or