This is a migrated thread and some comments may be shown as answers.
RadSocialShare JavaScript Error
3 Answers 6 Views
This is a migrated thread and some comments may be shown as answers.
George Fahnbulleh
Top achievements
Rank 1
George Fahnbulleh asked on 22 Mar 2015, 05:47 PM
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>

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 23 Mar 2015, 07:33 AM
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.

 
0
George Fahnbulleh
Top achievements
Rank 1
answered on 23 Mar 2015, 07:11 PM
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!
0
Danail Vasilev
Telerik team
answered on 24 Mar 2015, 12:29 PM
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.

 
Asked by
George Fahnbulleh
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
George Fahnbulleh
Top achievements
Rank 1
Share this question
or