[CLOSED] Calendar ->Add Event- When Control not supporting browser language setup

  1. #1

    [CLOSED] Calendar ->Add Event- When Control not supporting browser language setup

    Hi,

    We are using coolite 1.0 for our web application, Our application supports multilanguage feature. So based on the language setup of the browser our application will show the date format in the grid view and other pages. Now we've implemented coolite 1.x Calendar module in our application. in that calendar module there are functions Add /Edit Event which will open the Event page. In that page there is control called When. Problem with this control it always shows the date with US English standard even though browser language has some other setup (ex: Chineese).

    Please refer the attachment for the Add event page where it got When control.

    Please provide the solution for making the When control to support multilanuage.

    Thanks.
    Speed step India
    Attached Thumbnails Click image for larger version. 

Name:	Calendar Add event.jpg 
Views:	89 
Size:	21.8 KB 
ID:	4261  
    Last edited by Daniil; May 23, 2012 at 8:26 PM. Reason: [CLOSED]
  2. #2
    Hi,

    There is the poor localization support in Calendar. You will need to localize many things manually.

    Please see the example how you can change the DateFields format according to the current locale.

    Example
    <ext:EventEditWindow 
        ID="EventEditWindow1" 
        runat="server" 
        Hidden="true" 
        GroupStoreID="GroupStore1">
        <Listeners>
            <Render Handler="var dateRange = this.formPanel.get('date-range');
                                     
                             dateRange.on('render', function () {
                                 this.startDate.format = Ext.form.DateField.prototype.format;
                                 this.endDate.format = Ext.form.DateField.prototype.format;
                             });" />
        </Listeners>
    </ext:EventEditWindow>

Similar Threads

  1. [CLOSED] Calendar Add/Edit event When control backgroud color customization
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 07, 2012, 10:38 AM
  2. [CLOSED] Calendar Add Event is not working in IE 9.0 browser
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 24, 2012, 8:04 AM
  3. Replies: 9
    Last Post: Apr 12, 2011, 3:13 PM
  4. [CLOSED] Calendar language culture
    By jsemple in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 11, 2009, 7:31 AM
  5. [CLOSED] ScriptManager custom ajax event browser
    By methode in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 14, 2009, 7:44 AM

Tags for this Thread

Posting Permissions