Welcome Guest Search | Active Topics | Sign In | Register

TabStript / Multipage - Postback on Tab Click (only once) Options
CodeMaster
Posted: Tuesday, November 8, 2011 4:00:01 PM
Rank: Advanced Member
Groups: Member

Joined: 10/14/2010
Posts: 19
I have the tab strip control on many pages of a site.

When a user goes to a new page I only one a postback to happen when a tab is clicked. I know this is set using RaisesServerEvent, but the catch is, if the user clicks to another tab, and clicks back to a tab they already clicked I do not want another postback to take place.

The only reason for this request is that some of the tabs contain iFrames to a non .NET reporting pages that I only want it to post back one time, when the user first clicks the tab, and not on subsequent clicks. If this was a .NET user control in the multipage I could handle the loading of the control Since it is an iFrame the only way I can see to handle it is to not allow the post back the second time the menu item gets clicked.

Can this be done?
eo_support
Posted: Tuesday, November 8, 2011 4:17:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. When RaisesServerEvent is true, clicking tab raises a server event. Raising a server event means a post back. That means Tab Click = Post Back in this configuration. It has nothing to do with what you do before or after it.

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.