Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
45 views
  • ASP.NET version: 4.0.30319
  • OS: Windows Server 2012 R2
  • Browser: Google Chrome v66.0.3359.139 (Official Build) (64-bit)
  • Exact Telerik Version: 2014.1.225.40 (2007-2014 Telerik AD)
  • Preferred programming language: VB.NET

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!

Charles
Top achievements
Rank 1
 answered on 01 Jul 2019
1 answer
36 views

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;
}

Ricardo
Top achievements
Rank 1
 answered on 29 Mar 2017
1 answer
48 views
Hi, I am new to Sitefinty , and I have inserted "Facebook Like Widget" but I noticed that this is generating an error in the template , and I am trying to click on it on the page and the counter is showing zero . and nothing happened . the website is still running on my local . please advise.
Danail Vasilev
Telerik team
 answered on 29 Sep 2016
1 answer
56 views

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?

Marin Bratanov
Telerik team
 answered on 09 Aug 2016
1 answer
68 views

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 , 

Marin Bratanov
Telerik team
 answered on 28 Mar 2016
8 answers
75 views
Hi,



I had a site that was working fine on windows Server 2008R2 and then upgraded this server to Windows Server 2012.  The moment I did this the website in question starting eating all available cpu, Upon looking at the process I noticed it was the telerik .axd, it would launch and never shut down it and just churn away CPU, for each new page loaded, another instance of the .axd would also be created.  after four or five instances the cpu would skyrocket.  It took me a couple of days to figure out what the culprit was and I wanted to make it know as others might and most likely will encounter the same situation until telerik releases a fix...



Thanks,
Danail Vasilev
Telerik team
 answered on 24 Mar 2016
3 answers
37 views

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

 

 

Danail Vasilev
Telerik team
 answered on 13 Jan 2016
1 answer
32 views

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

 

 

Rumen
Telerik team
 answered on 01 Sep 2015
1 answer
81 views

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?

Danail Vasilev
Telerik team
 answered on 23 Jun 2015
3 answers
24 views
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>

Danail Vasilev
Telerik team
 answered on 24 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?