This is a migrated thread and some comments may be shown as answers.

RadDatePicker Right to Left Align

2 Answers 134 Views
Input
This is a migrated thread and some comments may be shown as answers.
Mohamed Salah Al-Din
Top achievements
Rank 1
Mohamed Salah Al-Din asked on 27 Dec 2009, 03:32 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 28 Dec 2009, 01:35 PM
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.
0
Mohamed Salah Al-Din
Top achievements
Rank 1
answered on 29 Dec 2009, 06:50 AM
Dear Dimo,
thanks for your support, and happy new year.

regards
Tags
Input
Asked by
Mohamed Salah Al-Din
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Mohamed Salah Al-Din
Top achievements
Rank 1
Share this question
or