Error on pages now after updating my through the control panel

10 posts, 0 answers
  1. Matt
    Matt avatar
    16 posts
    Member since:
    Oct 2012

    Posted 01 Jul 2013 Link to this post

    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?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Jul 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    16 posts
    Member since:
    Oct 2012

    Posted 02 Jul 2013 Link to this post

    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
  5. Bruce
    Bruce avatar
    17 posts
    Member since:
    Mar 2013

    Posted 02 Jul 2013 Link to this post

    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.
  6. Matt
    Matt avatar
    16 posts
    Member since:
    Oct 2012

    Posted 02 Jul 2013 Link to this post

    Yes that is exactly what happened to me too. All was good until the update.
  7. Sean
    Sean avatar
    4 posts
    Member since:
    Mar 2012

    Posted 03 Jul 2013 Link to this post



    I am facing same issue from last 2 days. If anyone has solution pls share with us.
  8. Bruce
    Bruce avatar
    17 posts
    Member since:
    Mar 2013

    Posted 03 Jul 2013 Link to this post

    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.
  9. Sean
    Sean avatar
    4 posts
    Member since:
    Mar 2012

    Posted 03 Jul 2013 Link to this post

    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!

  10. Matt
    Matt avatar
    16 posts
    Member since:
    Oct 2012

    Posted 09 Jul 2013 Link to this post

    Do we have any news on this problem yet? Or should I look for other controls that work?
    Matt
  11. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 11 Jul 2013 Link to this post

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