DateInput doesn't work with ar-sa

2 posts, 0 answers
  1. mtallman
    mtallman avatar
    4 posts
    Member since:
    Jan 2007

    Posted 17 Aug 2009 Link to this post

    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




  2. Martin
    Admin
    Martin avatar
    833 posts

    Posted 18 Aug 2009 Link to this post

    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.
Back to Top