dhtmlxForm Calendar multilingual support

Hi All,

I wish to use use Chinese in dhtmlxForm Calendar. How should I do it?

Thanks in advance.

Hi
See this documentation and do it by analogy:
docs.dhtmlx.com/doku.php?id=dhtm … ltilingual - using languages
docs.dhtmlx.com/doku.php?id=dhtm … erlanguage - method loadUserLanguage()

Thanks. I have tried this as client side java script.

frmRepeat.loadStruct(‘FetchForm.ashx?guid=’ + guid, FormOnLoad);

function FormOnLoad() {
var dhxCalendar = frmRepeat.getCalendar(“rBeginDate”);
dhxCalendar.loadUserLanguage(“cn”);
}

FetchForm.ashx is my ASP.NET handler which generates the form XML from database value.

I notice the async callback FormOnLoad is called before the form is fully loaded. Therefore I always get a null form frmRepeat.getCalendar(“rBeginDate”);

I confirm the calendar exists in my form XML as below:

If I skip FormOnLoad, my form shows correctly.

hi

please provide completed demo?

Pls see the attacced.

  1. ContentPage.Master is the ASP.NET master page where I implement . dhtmlXCalendarObject.prototype.langData[“cn”] is set in doOnLod.

  2. Postage.aspx is the ASP.NET file where I implement client side js. You may search “frmRepeat.loadStruct” in order to locate my code quickly.

I’m not able to provide you an online demo as I have not publish it to my hosting space. Further more, this web project is in Chinese language.

Thanks again for your time.
PostageWizard.zip (4.99 KB)