Welcome Guest Search | Active Topics | Sign In | Register

CallbackPanel & WebPartManager Options
Wilson
Posted: Monday, April 14, 2008 9:06:07 AM
Rank: Newbie
Groups: Member

Joined: 4/14/2008
Posts: 1
Does the "CallbackPanel" works with a"WebPartManager" control. I need to drag/drop webparts without posting back. Now it works the first time, then it does not work anymore, unless I refresh the page manually.

Thanks
eo_support
Posted: Monday, April 14, 2008 9:16:10 AM
Rank: Administration
Groups: Administration

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

Most likely it will not since the Web Part Manager renders JavaScript to initialize certain operations (drag and drop etc), once they are updated by the CallbackPanel, the underlying DHTML element, which has been previously hooked up to certain JavaScript routines when the page initially load, has been updated. Yet the initialization performed by Web Part Manager is not being performed again.

MS own's UpdatePanel might work with this situation better, so you might want to try your luck with that.

Thanks
Edgard
Posted: Friday, April 10, 2009 11:07:58 AM
Rank: Newbie
Groups: Member

Joined: 11/5/2008
Posts: 1
Hi,

I am replying here because it may be the same issue...

Our WebPartManager editorzone is not working when we add an EO control (like TreeView) in the WebPart.

We tried replacing EO.CallbackPanel with ASP.UpdatePanel, but it did not help.

Is there any work around the issue?

Thanks
eo_support
Posted: Friday, April 10, 2009 11:20:29 AM
Rank: Administration
Groups: Administration

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

You can check whether the problem occur if you do not use any AJAX solution at all. If it does not occur, you can try to use multiple CallbackPanels. The basic idea is instead of using a single CallbackPanel to update a large region, you use several CallbackPanel's to update a few small regions. You would then "group" all these CallbackPanels together by setting their GroupName to the same value. The benefit of this approach is that you can leave some elements that do not work well with CallbackPanel out of the CallbackPanel.

Thanks!


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.