RadDatePicker Right to Left Align

3 posts, 1 answers
  1. Mohamed Salah Al-Din
    Mohamed Salah Al-Din avatar
    29 posts
    Member since:
    Aug 2009

    Posted 27 Dec 2009 Link to this post

    Dear Sir,
    Please Review the Attached Example, you will see that the RadDatePicker is not aligned to right corectly when using right to left mode.

    <

    table dir="rtl">
        <

    tr> 

            <td style="height: 24px" nowrap="nowrap">  
                <asp:Label ID="Label5" runat="server" Text="Label"></asp:Label> 
            </td> 
            <td nowrap="nowrap">  
                <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> 
            </td> 
        </tr> 
        <tr> 
            <td style="height: 24px" nowrap="nowrap">  
                <asp:Label ID="Label6" runat="server" Text="Label"></asp:Label> 
            </td> 
            <td nowrap="nowrap">  
                <telerik:RadDatePicker ID="RadDatePicker" runat="server" Calendar-Enabled="true" ShowPopupOnFocus="true"></telerik:RadDatePicker> 
            </td> 
        </tr>
    </table>
     
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8479 posts

    Posted 28 Dec 2009 Link to this post

    Hello Mohamed,

    Please use the following CSS rule:


    .RadPicker_SkinName   table.rcTable  td.rcInputCell
    {
        padding: 0  0px  0  4px;
    }


    By adjusting the second number, you can control the space on the right. Set the appropriate skin.


    Best wishes,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Mohamed Salah Al-Din
    Mohamed Salah Al-Din avatar
    29 posts
    Member since:
    Aug 2009

    Posted 29 Dec 2009 Link to this post

    Dear Dimo,
    thanks for your support, and happy new year.

    regards
Back to Top