SocialShare - Right-to-left Support

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

The RadSocialShare fully supports right-to-left (RTL) language locales. It is created and added to the page as a child of the form element and in order to turn on the RTL support you should set dir=rtl to the html or body elements.
  • Default.aspx
    • Default.aspx
    • DefaultCS.aspx
<%@ Page %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="">
<head runat="server">
<body style="direction: rtl;">
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        Leonardo DaVinci wrote in RTL</h3>
    <telerik:RadSocialShare RenderMode="Lightweight" runat="server" ID="RadSocialShare1" UrlToShare=""
        Skin="Sunset" TitleToShare="Leonardo DaVinci wrote in RTL">
            <telerik:RadSocialButton SocialNetType="ShareOnFacebook" />
            <telerik:RadSocialButton SocialNetType="ShareOnTwitter" />
            <telerik:RadSocialButton SocialNetType="ShareOnPinterest" UrlToShare=""
                TitleToShare="Leonardo: Right to Left" />
            <telerik:RadSocialButton SocialNetType="ShareOnGooglePlus" />
            <telerik:RadSocialButton SocialNetType="StumbleUpon" />
            <telerik:RadSocialButton SocialNetType="Tumblr" />
            <telerik:RadSocialButton SocialNetType="MailTo" />
            <telerik:RadCompactButton />
        Leonardo wrote in Italian using a special kind of shorthand that he invented himself.
        People who study his notebooks have long been puzzled by something else, however.
        He usually used "mirror writing", starting at the right side of the page and moving
        to the left. Only when he was writing something intended for other people did he
        write in the normal direction.
        People who were contemporaries of Leonardo left records that they saw him write
        and paint left handed. He also made sketches showing his own left hand at work.
        Being a lefty was highly unusual in Leonardo's time. Because people were superstitious,
        children who naturally started using their left hands to write and draw were forced
        to use their right hands.

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?