RadSocialShare JavaScript Error

4 posts, 0 answers
  1. George Fahnbulleh
    George Fahnbulleh avatar
    11 posts
    Member since:
    Apr 2006

    Posted 22 Mar 2015 Link to this post

    RadSocialShare generates a js error on page load, in IE 11.  The Error does not occur in Chrome:
    Line: 6
    Error: Unable to set property 'control' of undefined or null reference

    VS2013  .Net 4.5
    Windows 8.1
    RadControls for ASP.Net Q3 2013   version 2012.3.1308.45



    <telerik:RadSocialShare runat="server" ID="RadSocialShare1" UrlToShare="http://www.telerik.com/products/aspnet-ajax.aspx"
             TitleToShare="ASP.NET AJAX Controls, .NET Web UI Components | Telerik">
             <MainButtons>
                 <telerik:RadSocialButton SocialNetType="ShareOnTwitter" />
                 <telerik:RadSocialButton SocialNetType="Blogger" />
                 <telerik:RadSocialButton SocialNetType="ShareOnFacebook" />
                 <telerik:RadCompactButton />
             </MainButtons>
         </telerik:RadSocialShare>

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 23 Mar 2015 Link to this post

    Hi George,

    I can suggest that you try the following:
        - Does upgrading to latest Telerik UI version helps - 2015.1.225?
        - Can you ensure you are using .NET 45? I am asking about that because there is an issue in .NET4.0 related to IE11 detection. More information is available here - http://blogs.telerik.com/aspnet-ajax/posts/13-12-19/how-to-get-your-asp.net-application-working-in-ie11
         - Are there any JavaScript errors prior to loading SocialShare? For example does removing the control helps?
        - When does the issue occur - on page load or when a SocialShare button is clicked?

    Regards,
    Danail Vasilev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. George Fahnbulleh
    George Fahnbulleh avatar
    11 posts
    Member since:
    Apr 2006

    Posted 23 Mar 2015 in reply to Danail Vasilev Link to this post

    Vasilev,

    There are no errors prior to loading social share. 
    It is .NET 4.5
    Removing the Control Removes the Error.
    Error occurs on Page Load!
  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 24 Mar 2015 Link to this post

    Hello George,

    Does upgrading to the latest Telerik UI version helps - 2015.1.225?

    Regards,
    Danail Vasilev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top