|
Rank: Member Groups: Member
Joined: 5/31/2008 Posts: 25
|
Hi guys,
I have some pages that I use "WebForm_DoCallback" from .Net. In one of that pages I have implement the eo:CallbackPanel and my WebForm_DoCallback has stopped working.
Do you know if there are any known issues about using "eo:CallbackPanel" and "WebForm_DoCallback" in same page?
tks bob.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We are not aware of any issues regarding this. If you can create a test page that reproduces the problem, we will be happy to take a look and see what we can find.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/31/2008 Posts: 25
|
Tks for reply!
Now i'm trying to remove the DoCallBack, and using only the eo:CallBackPanel. I thing that will be a simply way!
Tks again.
Regards bob.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hopefully. :) Let us know if you still have problems.
|
|
Rank: Member Groups: Member
Joined: 5/31/2008 Posts: 25
|
Hi guys! The work is almost done! =)
bob.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
CallbackPanel does not touch scroll position. However if you use CallbackPanel to update the whole page, or a large portion of the page, then this can happen because the first step of the CallbackPanel is to "remove" the old contents. When that occurs, the page shrinks to nothing and the browser automatically scroll to the top because scrolling is no longer needed. The workaround for this scenario is to make sure you have other contents in the page that would prevent the page to shrink during callback.
Another scenario this can happen is that you have custom code that manipulates scrolling position. That code can be executed after callback update. If this is the case, you will need to find out the code and modify/correct it.
In any case, the CallbackPanel does not modify scroll position directly. It neither maintains it nor updates it.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/31/2008 Posts: 25
|
Yes! You are correct!
Was my fault. I calling callbackpanel Update method via javascript, and the anchor # was causing the scroll problems. I do a few changes, putting 2 panels, and seems that i'm in the correct path. =)
tks for quick reply!
|
|