Wednesday, September 28, 2011

Right to left support in telerik control

Problem: How to give right to left support in any telerik control ?
Solution:
1. Paste this code in the head section of your page

<style type="text/css">
    .rtlSupport
    {
        direction: rtl !important;
    }
</style>

2. Then give CssClass name to the desired control

<telerik:RadDatePicker ID="RadDatePicker1" CssClass="rtlSupport" runat="server" Width="297px"
                                    PopupDirection="BottomLeft">
                                </telerik:RadDatePicker>