CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable to retrieve data from a backend DB

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related
View previous topic :: View next topic  
Author Message
sumtotal



Joined: 08 Sep 2005
Posts: 1

PostPosted: Fri Sep 09, 2005 9:39 am    Post subject: Unable to retrieve data from a backend DB Reply with quote

Hi,

I have an issue with FlatCalendarXP and I was wondering if someone can help me out.

We use FlatCalendarXP such that upon loading a page, the calendar displays (month view) what the user’s events are on a day. This works fine on IE 6 and Netscape 7.1.

However when I click previous or next month arrow, the corresponding month is loaded but the events are not. This happens only in Netscape 7.1.

Upon investigation, we found out that

Code:
<script id='dynaScript' type='text/javascript'></script>

<script type='text/javascript'>
function fLoadScript(url) {
    …

  return document.getElementById("dynaScript").src=url;
// Eg: url = ‘/common/SYS_CAL_Agenda.asp?Year=”+y+””&Month=”+m;

}




the SRC attribute of the (dynaScript) SCRIPT element is dynamically set to an asp file that returns JavaScript code which is used in filling up the Calendar with activities scheduled for that month. Every time when the month is changed, the script.src value is changed by calling the fLoadScript function. And when ever src value for a script element changes, IE automatically downloads (re-loads) the javascript content by executing the ASP file with the new/changed params where as in Netscape, even though the src of the script is changed with a new URL, it does not reload.



Thanks
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Fri Sep 09, 2005 4:07 pm    Post subject: Reply with quote

Could you please paste here the page source of the following URL from you website?
Code:
http://<yoursite>/common/SYS_CAL_Agenda.asp?Year=2005&Month=8

*Simply type in the URL in your Netscape browser (replace <yoursite> with your site address) and select "vew page source".

We need those generated code for further investigation. Moreover it's better if you can send us a live link to test online - either by email or private message.

Another suggestion is to try it with Mozilla FireFox to see if it works there; and if not, does it give you any error in its javascript console?

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group