This is a migrated thread and some comments may be shown as answers.

Facebook RadSocialButton javascript problem

2 Answers 86 Views
SocialShare
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Al asked on 15 Feb 2012, 12:33 AM
I'm having trouble using the Facebook RadSocialButton, i.e.

        <telerik:RadSocialButton SocialNetType="FacebookLike" />
        <telerik:RadSocialButton SocialNetType="FacebookRecommend" />
        <telerik:RadSocialButton SocialNetType="FacebookSend" />
        <telerik:RadSocialButton SocialNetType="FacebookShare" />

I find I get the following error:

Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined
Looking at the jscript - it seems to relate to font names or Facebook button properties

Anyone else had this? Any solutions?

PS: this one seems to work fine:
<telerik:RadFacebookButton ButtonLayout="ButtonCount" ButtonType="FacebookLike" />



2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Feb 2012, 11:07 AM
Hi Al,

Indeed, I can confirm that there was such a problem which is now fixed and if you upgrade to the latest version of RadControls (which is scheduled to be released today) or to one of the latest internal builds, everything will work fine with this configuration.

On a side note, we strongly recommend to use the strongly typed buttons such as RadFacebookButton because this is the correct and robust configuration which we test in more details when dealing with third party buttons. These strongly typed classes are also used by our RadSocialShare visual design time which you can use in case it is more convenient for you.

All the best,
Svetlina Anati
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Al
Top achievements
Rank 1
answered on 15 Feb 2012, 11:17 AM
Thanks Svetlina - I'll try the new version
Tags
SocialShare
Asked by
Al
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Al
Top achievements
Rank 1
Share this question
or