Telerik.Web.UI 2013.2.717.35 & SharePoint 2013 - Causing conflict with wpadder.js to throw type mismatch error

7 posts, 0 answers
  1. John
    John avatar
    14 posts
    Member since:
    Jun 2013

    Posted 09 Aug 2013 Link to this post

    Note: Sorry wrong SharePoint version in thread title which i can't change! The problem is happening in SharePoint 2010

    Hi,

    We are currently getting errors when using the latest version of Telerik.Web.UI 2013.2.717.35 in some SharePoint 2010 web parts we develop. The problem seems to be a conflict between the Telerik Javascript files and the SharePoint Javascript file wpadder.js which is triggered once you have added a web part using Telerik to a page and try and click add to add another, the error return is as follows:

    SCRIPT5: Type mismatch.
     wpadder.js, line 2 character 13993

    This error doesn't happen with the previous version of Telerik.Web.UI 2013.1.417.35 we were using so I assume its to do with some changes that have been added to 2013.2.717.35.

    Is there a fix for this problem? Is it a known issue?

    Thanks,
    JC


  2. John
    John avatar
    14 posts
    Member since:
    Jun 2013

    Posted 12 Aug 2013 Link to this post

    Any feedback on the above issue?

    Thanks,
    JC
  3. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 13 Aug 2013 Link to this post

    Hi JC,

    The information you provided in your post is insufficient to reproduce the problem on our test server. Please, explain which RadControls you are using in your web parts and in what SharePoint site and scenario you are adding them. Also it will be of great help, if you can provide we with a simple web part, which I can deploy to our test server and reproduce the issue locally, .


    Regards,
    Stanimir
    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.
  4. Nic
    Nic avatar
    3 posts
    Member since:
    Aug 2010

    Posted 09 Sep 2013 Link to this post

    Hi Stanimir,

    We've run into the exact same issue. We upgraded to 2013.2.717 and we are getting the same error when trying to add a second web part to the page. I've tried to narrow down which web part is causing the issue, but it is difficult because our web parts are using quite a few Telerik controls. I'll have to create some custom web parts that each only use a single Telerik control so that I can narrow down the search.

    I'll come back with more when I narrow down the issue.

    Nic
  5. Nic
    Nic avatar
    3 posts
    Member since:
    Aug 2010

    Posted 10 Sep 2013 Link to this post

    I've confirmed that the issue is with the Grid control. I created a simple web part that has nothing except for an empty Grid control and as soon as I try to add a second web part to the page I get the error.

    I'm going to open up a support ticket and provide the web part project that I created.

    Nic
  6. Michael
    Michael avatar
    8 posts
    Member since:
    Jan 2009

    Posted 04 Feb 2014 in reply to Nic Link to this post

    Nic, I'm having the exact same issue. Did you get a resolution from support? If yes, what was the fix? Thanks.
  7. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4614 posts

    Posted 05 Feb 2014 Link to this post

    Hi Michael,

    The issue with the grid should be fixed in Q3 2013, so I would advise upgrading to the latest release (currently Q3 2013 SP2).

    In the meantime you can try adding this JavaScript override after your grid:
    Telerik.Web.UI.RadGrid.prototype._fixIndexOfUnderIE8AndLower = function ()
    {
     //empty method
    }



    Regards,
    Marin Bratanov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top