Facebook RadSocialButton javascript problem

3 posts, 0 answers
  1. Al
    Al avatar
    9 posts
    Member since:
    Oct 2012

    Posted 14 Feb 2012 Link to this post

    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. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 15 Feb 2012 Link to this post

    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 >>
  3. Al
    Al avatar
    9 posts
    Member since:
    Oct 2012

    Posted 15 Feb 2012 Link to this post

    Thanks Svetlina - I'll try the new version
Back to Top