Welcome Guest Search | Active Topics | Sign In | Register

Async TabStrip / Multipage? Options
Ken
Posted: Wednesday, April 8, 2009 4:07:03 PM
Rank: Newbie
Groups: Member

Joined: 11/28/2007
Posts: 5
I am looking to implement a Multipage that switches its PageViews asynchronously when triggered by TabStrip tab clicks.

Is this feature supported natively, or do I need to put callback panels inside the PageViews?

I have experimented a little and gotten close, but no cigar, so I figured that I would post a message before spinning my wheels too much longer.
Ken
Posted: Wednesday, April 8, 2009 4:24:37 PM
Rank: Newbie
Groups: Member

Joined: 11/28/2007
Posts: 5
Looks like the 'Load On Demand' example may be my answer.

If not, i'll be back...
eo_support
Posted: Wednesday, April 8, 2009 6:13:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Yes. That sample can get you started. However you may want to take a look of this topic regarding dynamic loading:

http://essentialobjects.com/Forum/Default.aspx?g=posts&t=1179#5018

The issue is a generic programming issue that is not specifically related to our product in any way. However our experience shows many users often run into this problem when trying to dynamically load control either with our PageView or CallbackPanel.

Thanks!
Ken
Posted: Wednesday, April 8, 2009 7:10:25 PM
Rank: Newbie
Groups: Member

Joined: 11/28/2007
Posts: 5
Thank you for the warning!

Fortunately, I have done some dynamic user control loading and have written server controls, so I am familiar with some of the challenges around connecting events back to server controls.

Would I be correct in assuming that the CallbackPanel does an async HTTP post of the same page on a separate thread and then rewrites the contents of the CallbackPanel div into the DOM of the current page without touching the viewstate hidden field? (In other words viewstate changes made during the partial postback will not be reflected in the current page when I do a full postback of it)

Or have you guys managed to reflect server-side viewstate changes into the current page by decrypting and merging the changes into the viewstate hidden field? That would be an incredibly cool trick.
eo_support
Posted: Wednesday, April 8, 2009 7:49:33 PM
Rank: Administration
Groups: Administration

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

I believe it does update the view state. This is necessary to keep the HTML and view state in sync.

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.