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?
|
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
|