Welcome Guest Search | Active Topics | Sign In | Register

EO datepicker with Crystal report Options
Thara
Posted: Thursday, October 22, 2009 12:27:02 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
Hi There!

We have used the EO datepicker in pages that has crystal report. But after using the datepicker control there is an additional extra request that is being sent from the page (like about:blank). Without the datepicker this was not visible. But after some analysis we found that there are Javascript files dynamically generated by crystal report which has variables such as month, day etc etc which may conflict with the javascript used in datepicker. Could anyone let us know whether the datepicker control works along with crystal report? The functionality woks but due to the additional request the whole page will be in a hung mode for sometime.. This is a critical issue for us as we have many report pages to which we have added the calendar control...:(

Thanks in advance..
eo_support
Posted: Thursday, October 22, 2009 8:38:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We are not aware of any issue with Crystal Report. All our global variables start with "eo_", so it should not conflict with anybody else. As to the extra requests, if they are just empty requests (such as about:blank) then it should not be an issue (think about every image in your page is a separate request). However if those extra requests pull huge amount of data from your server then it can be an issue. Have you traced those requests to see what's inside it?

Thanks
Thara
Posted: Thursday, October 22, 2009 9:49:14 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
Thanks for the reply!

We have found that its not a conflict between crystal report and datepicker. We have two datepickers in the same page along with the crystal report. Each calendar control send 11 about:blank requests which makes the total no. of request 22. We have observed that with additional customization done to the datepicker the no. of about:blank requests also increase. In firefox, the browser hangs and in IE the browser shows progressbar in this scenario. Without the datepicker these pages function correctly. We are also using UpdatePanel in this page and the datepicker is inside the UpdatePanel.

We do not understand why there should be about:blank requests send by calendar control.

Please let us know how to get rid of these redundant calls.
eo_support
Posted: Thursday, October 22, 2009 11:17:03 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Do you have the page online so that we can take a look?

Thanks!
Thara
Posted: Friday, October 23, 2009 4:23:02 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
Thank you for the prompt reply!

We do not have it online, its still under production. We will let you know whether we can put it up somewhere..

We have found that even if there is no crystal report and there are multiple calendar controls the page has an issue.
eo_support
Posted: Friday, October 23, 2009 9:04:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

It is very normal for the DatePicker to make additional request to the server initially because DatePicker requires a number of JavaScript files to run. So when you intially load a page with DatePicker, it will try to load those JavaScript files. However once loaded, the browser should cache them and next time you should not see them to be loaded again.

If you see them to be loaded everytime, try to:

1. Check your browser's cache settings;
2. Turn on physical JavaScript files. See here for more details:
http://doc.essentialobjects.com/library/1/installationanddeployment/deploy.aspx

The Calendar also uses iframes and they require an empty document to work; In case you run over HTTPS, a separate non-empty document is needed (loaded from the server). None of these should be any of concern.

In any case, number of request alone is not an issue. For example, if you have a page with 10 images, then every time the page loads, you may see 10 requests to the server. However while the initial 10 requests will download all 10 images, subsequent requests will only check if the images have been changed (if the browser decides to check at all). In all cases you may see up to 10 requests, but the images are only downloaded once.

So please check whether it's just empty request, or request that pulls a lot of data from your server every time. As explained above, generally empty request alone is not a problem and we will not investigate. However if you see other unusual things (such as it is really excessive, causes other problem, or the Url that it requests for does not make sense, etc), do let us know and we will see what we can do.

Thanks
Thara
Posted: Friday, October 23, 2009 9:42:41 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
I understand..

It would be helpful if you can clarify the following

1. When there are multiple calendar controls in a single page would the calendar javascript code be repeated for every control?
2. If no, could you you please share with us the sample integation?

Thanks..
eo_support
Posted: Friday, October 23, 2009 10:05:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Thara wrote:
I understand..
1. When there are multiple calendar controls in a single page would the calendar javascript code be repeated for every control?

No.

Thara wrote:

2. If no, could you you please share with us the sample integation?

I am not sure what you mean by "share sample integration". I believe it works this way by default. So you do not need to do anything special for that.

Thanks!
Thara
Posted: Monday, October 26, 2009 6:27:51 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
Hi There!

We have an updatepanel in our page and the datepicker is inside this. When we replace the updatepanel with eo:callbackpanel then there are no issues with the page hanging. But in case of eo:callbackpanel the page performs a complete postback instead of an ajax call..

Any tips on how to use the callbackpanel would be appreciated.

Thanks
eo_support
Posted: Monday, October 26, 2009 8:44:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Check whether you have set the CallbackPanel's Triggers property. eo:CallbackPanel does not treat children as trigger by default thus you need to set explicitly set the triggers.

Thanks!
Thara
Posted: Monday, November 2, 2009 7:43:45 AM
Rank: Newbie
Groups: Member

Joined: 10/22/2009
Posts: 6
Hi There!

I just wanted to update this post with our finding. The issue occurs when the datepicker and crystal report are placed in same updatepanel or are part of same request. So we have placed them in separate updatepanels and have applied different mode's to it so that both are not part of teh same request. Since both the sites (EO and crystal report) doesnt talk about any such issues we do not know what triggers the conflict. But there is a conflict which can be seen if you create a simple page with upadtepanel, eo datepicker, crystal report and a submit button.

eo_support
Posted: Monday, November 2, 2009 8:42:21 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Thank you very much for sharing!
Ancorensis CRL
Posted: Friday, January 13, 2012 5:46:32 AM
Rank: Newbie
Groups: Member

Joined: 3/24/2009
Posts: 5
Thara wrote:
Hi There!

I just wanted to update this post with our finding. The issue occurs when the datepicker and crystal report are placed in same updatepanel or are part of same request. So we have placed them in separate updatepanels and have applied different mode's to it so that both are not part of teh same request. Since both the sites (EO and crystal report) doesnt talk about any such issues we do not know what triggers the conflict. But there is a conflict which can be seen if you create a simple page with upadtepanel, eo datepicker, crystal report and a submit button.



Hello Thara,

i'm exactly with the same issues.

Can you explain your solution with the diferent modes of updatepanel? Im trying that but without success.

PS: i know that i'm 2 years late, but i have hope :D

Best Regards.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.