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

DateInput doesn't work with ar-sa

1 Answer 60 Views
Input
This is a migrated thread and some comments may be shown as answers.
mtallman
Top achievements
Rank 1
mtallman asked on 17 Aug 2009, 08:45 PM
I am trying to use the DateInput for an Arabic, Saudia Arabia (ar-SA 1025) site and it doesn't seem to work.
I try to enter '1430/08/26' and it doesn't accept the input.
I am using Version=2008.2.723.35.
Even the latest demo @ http://demos.telerik.com/aspnet-ajax/input/examples/raddateinput/firstlook/defaultcs.aspx doesn't seem to work.

Am I missing something ?? Does my system have to be configured a certain way to support ar-SA??

        <telerik:RadDateInput  
            ID="RadDateInputStartDate" 
            runat="server" DateFormat="yyyy/MM/dd" Culture="ar-SA" 
            ButtonsPosition="Left"
            <ClientEvents OnError="HandleError" /> 
        </telerik:RadDateInput> 

I programmatically set the date to '1430/08/26' in the code behind and as soon as I click on (client side) the DateInput control it converts it to the en-US equivalent. The problem appears to be the client-side javascript doesn't know I am running an arabic site.

  • Using an arabic firefox install
  • The Culture of the page and DateInput control is set to ar-SA.
  • Running on win2k3 (in Sharepoint)
  • Tried changing the 'Regional and Language' settings in the Control Panel to 'Arabic (Saudi Arabia) didn't seem to change anything




1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 18 Aug 2009, 08:56 PM
Hello Matthew,

Please note that RadCalendar supports the Gregorian calendar only. This code library offers a possible work-around.
In addition there are two more options that you can review as attached projects. However both of them require AJAX and are not fully functional:
  • 'NoNavigation" option does not convert the month names when a fast navigation button is clicked.It also does not convert the years in the Month/Year popup.
  • "Navigation" option does not convert only the years in the Month/Year popup.
I hope that one of these will be suitable for you scenario.

Best regards,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Input
Asked by
mtallman
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or