Welcome Guest Search | Active Topics | Sign In | Register

CallbackPanel control within Multipage Control Options
Venkat
Posted: Tuesday, November 27, 2007 1:23:07 PM
Rank: Member
Groups: Member

Joined: 9/28/2007
Posts: 20
In my webpage, I am using eo:Tabstrip control which has been linked to eo:MultiPage.
And I am trying to use eo:CallbackPanel control within each eo:PageView.
If I use eo:CallbackPanel control within each eo:PageView, then that callback panel is not working as it is suppose to. But, if i keep the same callback panel outside eo:MultiPage, it works fine.

So, my question is how should I use this CallbackPanel control within each PageView control.
Code: C#
eo_support
Posted: Tuesday, November 27, 2007 1:34:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Venkat,

It would help if you can elaborate about how "CallbackPanel is not working as it is suppose to". As far as we know, our CallbackPanel works fine inside PageView. In fact our sample project uses it extensively this way. Each sample is placed within a PageView and we use many CallbackPanels inside various samples.

The location of the CallbackPanel matters in two ways:
1. CallbackPanel defines the boundary of the region to be updated. So everything outside of the CallbackPanel obviously will not be updated;
2. Based on #1, if you use the TabStrip to trigger the CallbackPanel, then the TabStrip's RaisesServerEvent is set to true. When the TabStrip's RaisesServerEvent is set to true, it relies on the server side code to switch tabs. So if the TabStrip is placed outside the CallbackPanel, the server side code that switches the tab will be called as expected, but the updated output won't be applied. In this case you would want to place the TabStrip into a separate CallbackPanel, and then group it with other CallbackPanel(s) via GroupName property. That way when one CallbackPanel updates, all other CallbackPanel(s) with the same GroupName would update;

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.