localize Calendar

2 posts, 0 answers
  1. Hamdy
    Hamdy avatar
    41 posts
    Member since:
    Dec 2009

    Posted 04 Apr 2010 Link to this post

    I have an Arabic site

    I need to localize the tool tim
    So I did that
            
     window.onload = function() { 
    document.getElementById('RadDatePicker1_calendar_NN').title ='<%=TranslatText("NextMonth") %>';
    document.getElementById('RadDatePicker1_calendar_NP').title ='<%=TranslatText("PreviousMonth") %>';
    document.getElementById('RadDatePicker1_calendar_FNN').title ='<%=TranslatText("NextMonth3") %>';
    document.getElementById('RadDatePicker1_calendar_FNP').title ='<%=TranslatText("PreviousMonth3") %>';
    document.getElementById('RadDatePicker2_calendar_NN').title ='<%=TranslatText("NextMonth") %>';
    document.getElementById('RadDatePicker2_calendar_NP').title ='<%=TranslatText("PreviousMonth") %>';
    document.getElementById('RadDatePicker2_calendar_FNN').title ='<%=TranslatText("NextMonth3") %>';
    document.getElementById('RadDatePicker2_calendar_FNP').title ='<%=TranslatText("PreviousMonth3") %>';
    }        

    but now there is a tool tip for opening the month view
    "Open the calendar popup"
    I need to localize it 
    How?


  2. Hamdy
    Hamdy avatar
    41 posts
    Member since:
    Dec 2009

    Posted 04 Apr 2010 Link to this post

    I found it


     RadDatePicker1.Calendar.NavigationNextToolTip = TranslatText("NextMonth")
                    RadDatePicker1.Calendar.FastNavigationNextToolTip = TranslatText("NextMonth3")
                    RadDatePicker1.Calendar.NavigationPrevToolTip = TranslatText("PreviousMonth")
                    RadDatePicker1.Calendar.FastNavigationPrevToolTip = TranslatText("PreviousMonth3")
                    RadDatePicker2.Calendar.NavigationNextToolTip = TranslatText("NextMonth")
                    RadDatePicker2.Calendar.FastNavigationNextToolTip = TranslatText("NextMonth3")
                    RadDatePicker2.Calendar.NavigationPrevToolTip = TranslatText("PreviousMonth")
                    RadDatePicker2.Calendar.FastNavigationPrevToolTip = TranslatText("PreviousMonth3")
                    '
                    RadDatePicker1.DatePopupButton.ToolTip = TranslatText("DatePopupButton")
                    RadDatePicker2.DatePopupButton.ToolTip = TranslatText("DatePopupButton")
Back to Top