Hello, I'm currently implementing infinite scroll/load more functionality for news articles on our website. Do you have any documentation or advice on how we can initialize the RadSocialShare control client-side? I can load the initial batch of articles with their respective RadSocialShare controls, but because we're adding load more, we don't have the title and url to share until the user scrolls to the bottom of the page. Is there a way to find out which components we need in order to wire up RadSocialShare controls for the subsequent batches of articles?
Thanks!
when i build the RadSocialShare dynamically, the RadCompactButton does not work (dialog does not popup with items in the CompactButtons list
- working in ASP .net4.5
- No javascript erra's
- I can get to work if i build in markup as described in help documents
- does not work when building the radSocialShare control dynamically
<<< Suedo Code >>>
private RadSocialShare CreateRadSocialShareButtons()
{
RadSocialShare radSocialShare = new RadSocialShare();
myList = GetButtonList(); //get my list of social controls items
foreach (ListItem item in myList)
{ //check if button enabled for sharing
if (item.Enabled)
{ //start setting standard properties
RadSocialButton socialButton = new RadSocialButton();
socialButton.SocialNetType = (SocialNetType)Enum.Parse(typeof(SocialNetType), item.SocialNetType);
socialButton.CssClass = "SocialShareButtons";
socialButton.ToolTip = item.SocialSite; //display in tooltip (e.g. Facebook)
if (item.ShowInMain)
{ //display in main list
radSocialShare.MainButtons.Add(socialButton);
}
else
{ //display in compact list
radSocialShare.CompactButtons.Add(socialButton);
}
}
}
if (radSocialShare.CompactButtons.Count > 0)
{ //<!------THIS SHOWS UP ON PAGE, BUT DOES NOTHING--- !>
RadCompactButton radCompactBtn = new RadCompactButton();
radCompactBtn.ToolTip = "See More Social Share Types";
radSocialShare.MainButtons.Add(radCompactBtn);
}
return radSocialShare;
}
I built a really simple UserControl using the SocialShare control, just creating by creating a .ascx and registering the Telerik type.
It works fine as a widget on a Sitefinity website, but is causing DCom 10016 errors to be thrown.
The webserver was complaining that the account NetworkServices didn't have permissions to activate the specified application, and although it was easy enough to grant permissions (dcomcnfg) I was dubious about why I should need to do that.
However, I am also getting a similar DCom error being thrown on the client if I am using IE11 and need to use the developer tools to debug IE.
This is obviously a bit more disconcerting, as there shouldn't be a need to grant permissions for this type of scenario.
What am I doing wrong?
hello every body ,
i'm using telerik:RadSocialShare in webpage TitleToShare work fine with twitter and linked in , but with facebook it share webpage footer ,
please any advice , here telerik control
<telerik:RadSocialShare RenderMode="Lightweight" ID="RadSocialShare3" runat="server"
Width="240" >
<MainButtons>
<telerik:RadSocialButton CustomIconWidth="46" CustomIconHeight="46" CustomIconUrl="images/icons/ico-fb.png"
SocialNetType="ShareOnFacebook" TitleToShare="شارك معنا وساعدنا في فهم التحديات والفرص الأساسية التي تواجه توظيف الشباب في قطاع تكنولوجيا المعلومات والاتصالات. كيف ترى التحديات والفرص الحالية؟ وكيف تتخيل المستقبل في هذا القطاع؟ اجابتك سوف تساعدنا لاستكشاف مسارات المستقبل المحتملة للشباب في هذا القطاع. مشاركتكم أساسية لمحاولة الوصول إلى المستقبل الذي نطمح اليه والتحضير للتحديات المصاحبة له."
CssClass="sshCustomCircleFB"></telerik:RadSocialButton>
<telerik:RadSocialButton CustomIconWidth="46" CustomIconHeight="46" CustomIconUrl="images/icons/ico-tw.png"
SocialNetType="ShareOnTwitter" CssClass="sshCustomCircleTwitter"></telerik:RadSocialButton>
<telerik:RadSocialButton CustomIconWidth="46" CustomIconHeight="46" CustomIconUrl="images/icons/ico-li.png"
SocialNetType="LinkedIn" CssClass="sshCustomCircleLinkdedIn"></telerik:RadSocialButton>
</MainButtons>
</telerik:RadSocialShare>
Regards ,
With the latest update (2015.3.1111.4.5), I've noticed that if we have the following code:
<
telerik:RadSocialShare
ID
=
"RadSocialShare1"
runat
=
"server"
>
<
MainButtons
>
<
telerik:RadSocialButton
SocialNetType
=
"ShareOnTwitter"
ToolTip
=
"Tweet this"
/>
<
telerik:RadSocialButton
SocialNetType
=
"ShareOnFacebook"
ToolTip
=
"Share on Facebook"
/>
<
telerik:RadCompactButton
ToolTip
=
"Show more"
/>
</
MainButtons
>
</
telerik:RadSocialShare
>
ALL Telerik controls break across our site. Nothing works.
However, when I remove the RadCompactButton, it works again. This is the revised code that fixes the problem:
<
telerik:RadSocialShare
ID
=
"RadSocialShare1"
runat
=
"server"
>
<
MainButtons
>
<
telerik:RadSocialButton
SocialNetType
=
"ShareOnTwitter"
ToolTip
=
"Tweet this"
/>
<
telerik:RadSocialButton
SocialNetType
=
"ShareOnFacebook"
ToolTip
=
"Share on Facebook"
/>
</
MainButtons
>
</
telerik:RadSocialShare
>
Just thought you'd want to know.
Chris Lee
Hi,
i was wondering if anyone knew how to use this SocialShare as a authentication means.
Right now i am using my own facebook and Linkedin Oath to sign a user into our account.
What i would like to do is:
1. if the user select to use socialshare, then logs into one of these social platforms....verify that they indeed were successful at login in.
2. get the username and email and then use it to also log them into my account/ or create a new account with the information.
right now i do this with facebook and linkedin as stated above. Facebook request that the user allow our app, which is fine in the process.
if i can do this above...that would be great and allow me to support more platforms than just facebook/linkedin.
thoughts?
RS
I am using the following code in my template to show social share buttons for FB, Twitter and LinkedIn. A peculiar thing I am noticing is that the FB button doesn't always show and I am not observing any pattern for when it appears or hides.
<
telerik:RadSocialShare
ID
=
"SocialShare"
runat
=
"server"
>
<
MainButtons
>
<
telerik:RadFacebookButton
/>
<
telerik:RadTwitterButton
/>
<
telerik:RadLinkedInButton
/>
</
MainButtons
>
</
telerik:RadSocialShare
>
Has anyone else noticed this behaviour and found a solution?
<
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
>