The first control on the screen is a RadDropDownList and before the update the control expanded down (as expected.) After the update, it expands up (and is truncated by the top of the screen). I know that a new .ExpandDirection property was added but the IDE indicates that it defaults to 'down'. Just to make sure, I tried explicitly specifying the down direction, both in markup and in code behind. No difference. Also, for the heck of it, I switched it to "Up" and the behavior was unchanged.
Oh, and I just found out that it only does this sometimes. The RadDropDownList is in a master page. On the master page, there are also links used to select the menu style that is to be loaded in the content area. Curiously, when display content that uses a RadMenu based menu (three of six choices), the above behavior occurs. When you pick a menu based on RadPanelBar or RadRibbonBar for the content area, the RadDropDownList drops down, instead of up (again, regardless of the setting of .ExpandDirection).
12 Answers, 1 is accepted
This behavior is a result of a bug that was introduced with the addition of the ExpandDirection property in RadDropDownList. The bug occurs when you have both a RadDropDownList and a RadMenu on one page. We've already resolved the issue (unfortunately not in time for the official release) and a working version will be available in our upcoming internal build.
Regards,
Bozhidar
Telerik
Any news about this problem?
The last internal build still with the problem in expand diretion.
Is there any other way to solve this problem?
Thank you.
With the 2013.2.618 build the js error that appeared on the page was resolved. I'm not quite sure whether the issue you are specifying isn't caused by some other circumstance. Could you open a support ticket and send a runnable sample that we can test locally in order to troubleshoot the issue.
Regards,
Bozhidar
Telerik
The problem you are experiencing must be caused by something else. Could you open a support ticket and attach a sample page, so that we can troubleshoot it locally.
Regards,
Bozhidar
Telerik
The error is issued by a RadDropDownList and on the page are present Tooltip, Splitter, Panels, ToolBar.
For some reason if I look at the html the radmenuscript.js is loaded by the way...
Errors (from Chrome)
- Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.ScrollDirection 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. MicrosoftAjax.debug.js:237
-
Error$createMicrosoftAjax.debug.js:237
-
Error$invalidOperationMicrosoftAjax.debug.js:387
-
Type$registerEnumMicrosoftAjax.debug.js:1647
-
b.extend.registerEnumjQueryPlugins.js:153
-
(anonymous function)RadDropDownListScripts.js:124
-
(anonymous function)RadDropDownListScripts.js:480
-
- Uncaught Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type MicrosoftAjax.debug.js:237
-
Error$createMicrosoftAjax.debug.js:237
-
Error$argumentUndefinedMicrosoftAjax.debug.js:361
-
Function$_validateParameterTypeMicrosoftAjax.debug.js:161
-
Function$_validateParameterMicrosoftAjax.debug.js:130
-
Function$_validateParamsMicrosoftAjax.debug.js:84
-
Sys$Component$createMicrosoftAjax.debug.js:3804
-
(anonymous function)MicrosoftAjax.debug.js:3492
-
Sys$_Application$_raiseInitMicrosoftAjax.debug.js:5092
-
Sys$_Application$initializeMicrosoftAjax.debug.js:4942
-
Sys$_Application$_domReady.document.addEventListener.check
-
The "value cannot be undefined" error, happens here in my page:
Hope those infos helps. Maybe is tied to panels that have an ExpandDirection as well? Or other control that has it?
This issue is the same as the one described previously and will be fixed if you get the latest internal build.
Regards,
Bozhidar
Telerik
- Issue with .ScrollDirection: I have updated 2013.1.220.40 to 2013.2.611.40 and I got the following error.
Microsoft JScript 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. A
possible cause is a change of settings during a partial update.
2. As mentioned above, I downloaded the internal builds - 2013.2.702.40 and 2013.2.709.40 and the expandissue is resolved and I am getting this error with 702 and 709. Please advice.
Microsoft JScript runtime error: Sys.InvalidOperationException: Type Telerik.Web.UI.ScrollDirection 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
Both issues will be resolved in the upcoming Service Pack.
Regards,
Bozhidar
Telerik
Follow on to this: is is possible to downgrade them from the 2Q to the 1Q release?
We released the ServicePack to the Q2 release on July 17 - version 2013.2.717.
Regards,
Bozhidar
Telerik