Welcome Guest Search | Active Topics | Sign In | Register

how to use aspx pages within a multiview / tab strip Options
Eshop-Xperts
Posted: Monday, June 4, 2007 12:42:19 PM
Rank: Member
Groups: Member

Joined: 6/3/2007
Posts: 11
Hi guys,

what i need to do is use a tab strip with a multi view panel (which i have working already), but within each panel I want to display a different aspx page (contents) and hold its state whilst moving between the tabs on the tab strip so i can do a save of the data when the user is complete..

thanks

eo_support
Posted: Monday, June 4, 2007 12:50:25 PM
Rank: Administration
Groups: Administration

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

In order to display a different aspx page, you would need to use iframes. It will be something like this:

Code: HTML/ASPX
<eo:PageView runat="server" id="PageView1">
    <iframe src="your_page.aspx" />
</eo:PageView>


However the tricky part is how to get user input from each of these separate pages when the user is done. Submit the hosting page (the page where you have the MultiPage control) will NOT submit the iframe pages, so if you use a server button to "save" all the changes, you won't get any of those values that does not belong to your hosting page. If you use client side script to collect the value then it won't be an issue.

So if you have to use server side event, you may wish to use user control instead of separate .aspx file.

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.