Welcome Guest Search | Active Topics | Sign In | Register

TabStrip disappears... Options
Cherif
Posted: Monday, July 27, 2009 6:27:54 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2009
Posts: 7
Hello,

I have a master page and several content pages that all reference the same master page. I have a TabStrip on each content page whose tab items are dynamically created in the Page_Load method of the content page. Suppose I am on page1.aspx with its TabStrip rendered properly. Then, I use the TabStrip to navigate to page2.aspx with its TabStrip again rendered properly. Now, if I use the Back button of the Internet Explorer to navigate back to page1.aspx, the TabStrip does NOT appear on page1.aspx (unless I refresh the page).

Is there any way to fix this problem? Your help is greatly appreciated.

Thanks!
eo_support
Posted: Monday, July 27, 2009 6:51:42 PM
Rank: Administration
Groups: Administration

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

Have you tried to disable caching on both pages? You can use the following code to disable cache:

Code: C#
Response.Cache.SetCacheability(HttpCacheability.NoCache);


Thanks!
Cherif
Posted: Tuesday, July 28, 2009 1:18:03 PM
Rank: Newbie
Groups: Member

Joined: 3/9/2009
Posts: 7
Great! I put your line of code in the Page_Load method of the master page and it works like a charm.

Thank you very much!
eo_support
Posted: Tuesday, July 28, 2009 1:19:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Cool. Glad that it works for you!


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.