|
Rank: Member Groups: Member
Joined: 9/6/2008 Posts: 29
|
Hi,
I did some searching but couldn't find my answer to what is hopefully an easy question.
My callbacks work fine in IE and firefox but fail in chrome and safari.
When my page loads, I have a few call back panels on the page and I have links on my page that the user can click to fire the callback. The page gets the new data and loads the callback. At this point, no other callbacks are successful on the page. Clicking that same exact link will not execute the callbackpanel.execute
The javascript function that I call will run but the: eo_Callback("CBPAddCollege", schid); is not hitting the CBPAddCollege.Execute function.
Do I have to do something each time there is a partial postback in my codebehind for the browser to recognize these callbacks after the first one?
Thanks, John
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You need to delay the call until the page is fully loaded. Usually you can do so by using a setTimeout to delay the actual call. Chrome and Safari try to hurry up things and fires up certain things too earlier, which causes eo_Callback is called when the page is not ready.
Thanks
|
|
Rank: Member Groups: Member
Joined: 9/6/2008 Posts: 29
|
I saw that reply somewhere else, but that isn't my problem here. I don't have the callback getting called when the page loads. Instead, the page loads, and then the user is the one who would initiate the next call back. I clicked my link which caused the first callBack and then I waited about 15 seconds before clicking the new link that appeared on the page, but the callback still does not work - nor do any other ones on the screen.
Thanks, John
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
In that case please try to isolate the problem into a test page and we will be happy to take a look.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/6/2008 Posts: 29
|
I've found some time to get back to this. I tried creating a test page with just the callback to replicate the issue but when the page was very simple, it would work. Then I tried stripping out components from my page to see if there was something else on the page that might be causing the problem. After spending a few hours, I decided that I have to move on. I did create a simplified version of the page that I'm hoping you could look at really quickly. Here is the link: http://www.baseballincollege.com/Default2.aspxWorks fine in IE and Firefox, but won't work in Chrome or Safari If you click on a letter, it will do a callback and write that "You Clicked: A" on the page. But if you try to click it again, it won't do anything. I know the javascript is working fine because i was able to test that but I'm not sure why the call to: eo_Callback("CBPColleges", alpha); won't work the second time. NOTE: The callback is not dynamically added to the page. Thanks, Jonathan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Would you be able to post the full .aspx source of the test page?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/6/2008 Posts: 29
|
The page is inside a master page. Do you need the code for the master page as well? It works when I take it out of the master page so that won't be very helpful...
Let me know what you need from me. Did you see the problem by going to the link I gave you?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We will need you to isolate the problem into a test project first. The test project should contain nothing but what is necessary to reproduce the problem. If you can reduce it to a single page or a few pages, then you can just post all the pages here. Otherwise you can email the project to us in zip format (let us know if you'd like to do this so that we can provide you the email address).
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/6/2008 Posts: 29
|
After spending quite a bit of time troubleshooting this issue and trying to isolate the problem - with no success - I finally thought that it might just be a problem with eo.web. I guess the version that I had just had a bug or something because I updated to the newest version and my problem was resolved. Everything worked fine until I updated to that newer version and everything is working perfectly again. If anyone has trouble with callbacks not working in chrome or safari, I would suggest updating your version of EO.Web.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We are not aware of such problems but it's always a good idea to update to the latest version first because browsers updates very quickly. So an early version may not work well with the latest browsers. We are glad to hear that the new version works for you.
Thanks
|
|