Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kevin on Nov 29, 2008 19:35
open dhtmlx forum
calendar and combo in same page

I have a single page which contains dhtmlxCombo.
When I add ~/dhtmlxCalendar/codebase/dhtmlxcommon.js (the common javascript for the calendar widget) and then try to use the combo box, I get this fatal error:

Error: dhtmlObject.onloadAction is not a function
Source File: ~/dhtmlxCalendar/codebase/dhtmlxcommon.js
Line: 9

I can get each widget to work alone, but cannot get them to work on the same page.
Is there something I am missing to make these two widgets work together?
Answer posted by Support on Dec 01, 2008 02:06
Which versions of components you are using?
There is no known conflicts between any versions of Calendar and Combo, but it possible that you are using old version of dhtmlxcommon.js , which may produce such error. 
Please try to use attached js file ( latest ) instead of existing one. 
Attachments (1)
Answer posted by Kevin on Dec 01, 2008 06:55
I am using
   dhtmlxCombo v.1.2 Standard edition build 80512
and
      dhtmlxCalendar v.1.0 Standard edition build 80512

I presume that only one instance of dhtmlxcommon is required and will use the one attached to your response.
I will also post a response to let you know if the new version eliminates the problem.
Answer posted by Kevin on Dec 01, 2008 07:17
The new version eliminates the problem.
Thanks for the help.