A workaround is to add the following script override after your script manager that will change the default URLs used for the third party scripts: Telerik.Web.UI.RadSocialShare.SocialNetUrls = { "ShareOnTwitter": "http://twitter.com/intent/tweet?url=[u]&text=[t]", "ShareOnGooglePlus": "https://plus.google.com/share?url=[u]", "GoogleBookmarks": "https://www.google.com/bookmarks/mark?op=add&bkmk=[u]&title=[t]", "LinkedIn": "//www.linkedin.com/shareArticle?mini=true&url=[u]&title=[t]", "Delicious": "http://delicious.com/save?url=[u]&title=[t]", "Blogger": "http://www.blogger.com/blog_this.pyra?t=&u=[u]&n=[t]", "Digg": "http://digg.com/submit?url=[u]&title=[t]", "Reddit": "http://www.reddit.com/submit?url=[u]&title=[t]", "StumbleUpon": "http://www.stumbleupon.com/submit?url=[u]&title=[t]", "MySpace": "http://www.myspace.com/Modules/PostTo/Pages/?u=[u]&t=[t]", "Tumblr": "http://www.tumblr.com/share/link?url=[u]&name=[t]", "MailTo": "mailto:?body=[u]&subject=[t]", "ShareOnFacebook": "http://www.facebook.com/sharer.php?u=[u]&t=[t]", "linkedInPlatform": "//platform.linkedin.com/in.js?async=true", "facebookscript": "//connect.facebook.net/[locale]/sdk.js", "googlescript": "//apis.google.com/js/plusone.js", "twitterscript": "//platform.twitter.com/widgets.js", "ga": ".google-analytics.com/ga.js", yammerscript: "https://c64.assets-yammer.com/assets/platform_embed.js", ShareOnYammer: "https://www.yammer.com/home/bookmarklet?bookmarklet_pop=1&u=[u]&t=[t]", PinIt: "//pinterest.com/pin/create/button/?media=[m]&url=[u]&description=[d]", pinterestscript: "//assets.pinterest.com/js/pinit.js?r=" + Math.random(), ShareOnPinterest: "//assets.pinterest.com/js/pinit.js", pinterestBookmarkletScript: "//assets.pinterest.com/js/pinmarklet.js" };
Available with Q3.2014
Issue will be fixed for Q3 2014 release. For the time being the following JavaScript workaround can be used: <telerik:RadSocialShare ID="RadSocialShare" runat="server" UrlToShare='http://www.google.com' FacebookAppId="1402849693262733" TitleToShare='title to share'> <MainButtons> <telerik:RadFacebookButton ButtonLayout="ButtonCount" /> </MainButtons> </telerik:RadSocialShare> <script> var $T = Telerik.Web.UI; $T.RadSocialShare.prototype.parseGeneratedButtons = function () { if (this._addFbScript) { try { if (FB && FB.XFBML && FB.XFBML.parse) FB.XFBML.parse(this.get_element()); if (!this._fbEventsAdded) { FB.Event.subscribe('edge.create', Function.createDelegate(this, this._fbLike)); FB.Event.subscribe('edge.remove', Function.createDelegate(this, this._fbUnLike)); FB.Event.subscribe("message.send", Function.createDelegate(this, this._fbSend)); this._fbEventsAdded = true; } } catch (ex) { } } if (this._addTwitterScript && typeof (twttr) != 'undefined' && twttr) { twttr.widgets.load(); if (!this._twEventsAdded) { twttr.events.bind('tweet', Function.createDelegate(this, this._tweet)); this._twEventsAdded = true; } } if (this._addGoogleScript && typeof (gapi) != 'undefined' && gapi) gapi.plusone.go(this.get_element()); if (this._addLinkedInScript && typeof (IN) != 'undefined' && $(document.documentElement).find("script[src='http://platform.linkedin.com/js/nonSecureAnonymousFramework?v=0.0.1143-RC1.16308-1337']").length > 0) setTimeout(function () { if (typeof ("IN.parse") != 'undefined') IN.parse(); }, 500); } </script>
Issue will be fixed for Q3 2014 release.
For the time being you can place the following JavaScript workaround below the SocialShare's declaration: <telerik:RadSocialShare ID="RadSocialShare1" runat="server"> <MainButtons> <telerik:RadLinkedInButton /> </MainButtons> </telerik:RadSocialShare> <script> var LinkedInnonSecureAnonymousScript = "//platform.linkedin.com/js/secureAnonymousFramework?v=0.0.2000-RC8.57838-1429", $T = Telerik.Web.UI; $T.RadSocialShare.prototype.initialize = function () { $T.RadSocialShare.callBaseMethod(this, "initialize"); if (this._addLinkedInScript) { window[this.get_id() + 'linkedInHandler'] = Function.createDelegate(this, this._linkedInShare); this._addScriptBlock(this._getStandardButtonUrl("linkedInPlatform")); var t = this; setTimeout(function () { t._addScriptBlock(LinkedInnonSecureAnonymousScript); }, 10); } var rtlElement = this.get_element(); if ($telerik.isRightToLeft(rtlElement)) Sys.UI.DomElement.addCssClass(rtlElement, "sshRtl"); this._ulElement = this.get_element().getElementsByTagName("ul")[0]; this.configureButtons(true); this.configureCompactPopup(); this.configureEmailPopup(); if (this._addFbScript || this._addTwitterScript || this._addGoogleScript || this._addLinkedInScript || this._addYammerScript || this._addPinterestScript) { if (this._addFbScript) { this._addScriptBlock(this._getStandardButtonUrl("facebookscript")); } if (this._addGoogleScript) { this._addScriptBlock(this._getStandardButtonUrl("googlescript")); } if (this._addTwitterScript) { this._addScriptBlock(this._getStandardButtonUrl("twitterscript")); } if (this._addPinterestScript) { this._addScriptBlock(this._getStandardButtonUrl("pinterestscript")); } if (this._addYammerScript) { this._initScriptButtons(this._getStandardButtonUrl("yammerscript"), Function.createDelegate(this, function () { this.addYammerButtons(); })); } setTimeout(Function.createDelegate(this, this.parseGeneratedButtons), 300); } var fakeElement = $get(this.get_id() + "_IEHack"); if ($telerik.isIE && fakeElement) fakeElement.parentNode.removeChild(fakeElement); if (this.get_gaEnabled()) { var scriptPrefix = ("https:" == document.location.protocol) ? "https://ssl" : "http://www"; this._addScriptBlock(scriptPrefix + this._getStandardButtonUrl("ga")); } } $T.RadSocialShare.prototype.parseGeneratedButtons = function () { var twttr = window.twttr, IN = IN; if (this._addFbScript) { try { if (!window.fbAsyncInit) { window.fbAsyncInit = Function.createDelegate(this, function () { window.FB.init({ appId: this.get_fbAppId(), status: true, cookie: true, xfbml: true, version: FACEBOOK_VERSION }); this.attachFacebookEvents(); }); } else { var FB = window.FB; if (FB && FB.XFBML && FB.XFBML.parse && window.fbAsyncInit.hasRun) { FB.XFBML.parse(this.get_element()); this.attachFacebookEvents(); } } } catch (ex) { } } if (this._addTwitterScript && typeof (twttr) != 'undefined' && twttr) { twttr.widgets.load(); if (!this._twEventsAdded) { twttr.events.bind('tweet', Function.createDelegate(this, this._tweet)); this._twEventsAdded = true; } } if (this._addGoogleScript && typeof (gapi) != 'undefined' && window.gapi) window.gapi.plusone.go(this.get_element()); if (this._addLinkedInScript && typeof (IN) != 'undefined' && $(document.documentElement).find("script[src='https:" + LinkedInnonSecureAnonymousScript + "']").length > 0) setTimeout(function () { if (typeof (IN.parse) != 'undefined') window.IN.parse(); }, 500); } </script>