This is a migrated thread and some comments may be shown as answers.
Issue with the navigations buttons
3 Answers 28 Views
This is a migrated thread and some comments may be shown as answers.
Udi
Top achievements
Rank 1
Udi asked on 06 Dec 2010, 03:18 PM
Hello,

I have a RadDatePicker with the attribute dir="rtl".
This attribute causes to the navigations text button to be inverted (see the attached jpg).
The tooltip is ok.

The code is:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" dir="rtl">
</telerik:RadDatePicker>

My goal is to set the popup button on the left side to the input date.

Thank you,
Oren

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 07 Dec 2010, 12:47 PM
Hello Oren,

You can achive the desired output by using an image explicitly and hide the DatePopupButton.

aspx:
<img src="../Images/calender_left_arrow.jpg" onclick="showPopup()" />
        <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
            <DatePopupButton Visible="false" />
        </telerik:RadDatePicker>

Javascript:
function showPopup()
   {
        var picker = $find("<%= RadDatePicker1.ClientID %>");
        picker.showPopup();
    }

Regards,
Shinu.
0
Udi
Top achievements
Rank 1
answered on 07 Dec 2010, 02:15 PM
Thanks Shinu for yout reply,

Does it a familiar bug?

Your solution look like a workaround.

Thanks,
Oren
0
Iana Tsolova
Telerik team
answered on 10 Dec 2010, 12:12 PM
Hi Oren,

Another option to achieve your goal, is to add the following css styles to the page:

<style type="text/css">
    .RadCalendar_[SkinName] .rcTitlebar .rcFastPrev
    {
        background-position: 1px -197px !important;
    }
    .RadCalendar_[SkinName] .rcTitlebar .rcPrev
    {
        background-position: 4px -297px !important;
    }
    .RadCalendar_[SkinName] .rcTitlebar .rcNext
    {
        background-position: 3px -397px !important;
    }
    .RadCalendar_[SkinName] .rcTitlebar .rcFastNext
    {
        background-position: 1px -497px !important;
    }
</style>


Best wishes,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Asked by
Udi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Udi
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or