Welcome Guest Search | Active Topics | Sign In | Register

accessing tab page on parent page refresh Options
Jason
Posted: Tuesday, July 3, 2012 11:06:48 PM
Rank: Member
Groups: Member

Joined: 10/18/2010
Posts: 29
Hello

I currently have an asp.net page with an eo objects multipage component on it. From within some of the pageviews contained within the multipage, I have links that open other asp.net pages (target = blank) to add records etc. When I close these pages, I am refreshing the parent page (that contains the multipage) with some javascript:

ClientScript.RegisterStartupScript(Me.GetType(), "RefreshParent", "<script language='javascript'>RefreshParent()</script>")

The refresh works fine, but the issue I'm having is that if I opened a new web page from say tab/page 7, when the javascript refreshes the parent page, it defaults back to the tab/page 1, not the tab/page that the page was originally opened from.

I have looked at this thread:

http://www.essentialobjects.com/forum/postst244_TabStrip-How-to-open--another-tab.aspx

which is helpful, but I really need to determine the tab/page destination on parent refresh. Could you assist with this please?

thanks

eo_support
Posted: Wednesday, July 4, 2012 9:55:12 AM
Rank: Administration
Groups: Administration

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

We can only tell you how to switch a tab page. The rest belongs to your application logic so it's beyond the scope of our support.

There are several ways to switch tab page:
1. Use our client side JavaScript interface, as noticed in the link that you posted;
2. Set SelectedIndex on the server side;
3. If you use a master page with tab having a different page and you use NavigateUrl to switch pages, you can set AutoSelectSource to NavigateUrl, that way it will automatically select the correct tab item for you based on the current page Url;

Hope this helps.

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.