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

Issue with .ExpandDirection

12 Answers 260 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Thomas Yanez
Top achievements
Rank 1
Thomas Yanez asked on 17 Jun 2013, 02:13 PM
I just updated to Q2 2013 (from Q1 2013) and let VSExtensions update a test application that was being used to demonstrate menu styles (in preparation for an upcoming project).

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

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 17 Jun 2013, 02:47 PM
Hi Thomas,

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
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.
0
Alexandre
Top achievements
Rank 2
answered on 21 Jun 2013, 08:37 AM
Hi Bozhidar,


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.
0
Bozhidar
Telerik team
answered on 21 Jun 2013, 10:23 AM
Hello Alexandre,

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
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.
0
brian
Top achievements
Rank 1
answered on 30 Jun 2013, 10:41 AM
Latest internal build fixed this issue for me.
0
GTL Dev
Top achievements
Rank 2
answered on 01 Jul 2013, 07:19 PM
This issue still exists. And I do not have ANY menu controls on the page.
0
Bozhidar
Telerik team
answered on 02 Jul 2013, 05:56 AM
Hi Nick,

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
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.
0
Massimiliano
Top achievements
Rank 1
answered on 03 Jul 2013, 03:12 PM
Same issue here (withe the 611.45 version) and no menu on the page.
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)

  1. 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
    1. Error$invalidOperationMicrosoftAjax.debug.js:387
    2. b.extend.registerEnumjQueryPlugins.js:153
    3. (anonymous function)RadDropDownListScripts.js:124
    4. (anonymous function)RadDropDownListScripts.js:480
  1. Uncaught Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: type MicrosoftAjax.debug.js:237
    1. Error$argumentUndefinedMicrosoftAjax.debug.js:361
    2. Function$_validateParameterTypeMicrosoftAjax.debug.js:161
    3. Function$_validateParameterMicrosoftAjax.debug.js:130
    4. Function$_validateParamsMicrosoftAjax.debug.js:84
    5. Sys$Component$createMicrosoftAjax.debug.js:3804
    6. (anonymous function)www.mysite.com:776
    7. (anonymous function)MicrosoftAjax.debug.js:3492
    8. Sys$_Application$_raiseInitMicrosoftAjax.debug.js:5092
    9. Sys$_Application$initializeMicrosoftAjax.debug.js:4942
    10. Sys$_Application$_domReady.document.addEventListener.check

The "value cannot be undefined" error, happens here in my page:

Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadDropDownList, {"_uniqueId":"ctl00$testdd","clientStateFieldID":"ctl00_testdd_ClientState","itemData":[]}, null, null, $get("ctl00_testdd"));
});

Hope those infos helps. Maybe is tied to panels that have an ExpandDirection as well? Or other control that has it?
 
0
Bozhidar
Telerik team
answered on 04 Jul 2013, 06:03 AM
Hello Massimiliano,

This issue is the same as the one described previously and will be fixed if you get the latest internal build.
 

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.
0
Sriram
Top achievements
Rank 1
answered on 15 Jul 2013, 07:55 PM
  1. 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 

0
Bozhidar
Telerik team
answered on 16 Jul 2013, 07:10 AM
Hello Sriram,

Both issues will be resolved in the upcoming Service Pack.
 

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.
0
RERC Development
Top achievements
Rank 1
answered on 22 Jul 2013, 04:32 PM
Is there any idea on when that 'internal release will be available?  This issue was driving me nuts as our test site worked on my system, but not on my fellow programmers?  A little research showed me at the 1Q release and he was at the 2Q release.  Now we're stuck as I'm the lead on this and, with this bug, can't update to the 2Q release......

Follow on to this: is is possible to downgrade them from the 2Q to the 1Q release?
0
Bozhidar
Telerik team
answered on 23 Jul 2013, 06:55 AM
Hello Alan,

We released the ServicePack to the Q2 release on July 17 - version 2013.2.717.
 

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
DropDownList
Asked by
Thomas Yanez
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Alexandre
Top achievements
Rank 2
brian
Top achievements
Rank 1
GTL Dev
Top achievements
Rank 2
Massimiliano
Top achievements
Rank 1
Sriram
Top achievements
Rank 1
RERC Development
Top achievements
Rank 1
Share this question
or