Issue with .ExpandDirection

13 posts, 1 answers
  1. Thomas Yanez
    Thomas Yanez avatar
    8 posts
    Member since:
    Dec 2009

    Posted 17 Jun 2013 Link to this post

    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).
  2. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 17 Jun 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Alexandre
    Alexandre avatar
    2 posts
    Member since:
    May 2011

    Posted 21 Jun 2013 Link to this post

    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.
  5. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 21 Jun 2013 Link to this post

    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.
  6. brian
    brian avatar
    36 posts
    Member since:
    Jul 2010

    Posted 30 Jun 2013 Link to this post

    Latest internal build fixed this issue for me.
  7. GTL Dev
    GTL Dev avatar
    12 posts
    Member since:
    May 2011

    Posted 01 Jul 2013 Link to this post

    This issue still exists. And I do not have ANY menu controls on the page.
  8. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 02 Jul 2013 Link to this post

    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.
  9. Massimiliano
    Massimiliano avatar
    185 posts
    Member since:
    Oct 2012

    Posted 03 Jul 2013 Link to this post

    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?
     
  10. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 04 Jul 2013 Link to this post

    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.
  11. Sriram
    Sriram avatar
    1 posts
    Member since:
    Mar 2013

    Posted 15 Jul 2013 Link to this post

    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 

  12. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 16 Jul 2013 Link to this post

    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.
  13. RERC Development
    RERC Development avatar
    1 posts
    Member since:
    Jan 2013

    Posted 22 Jul 2013 Link to this post

    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?
  14. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 23 Jul 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017