Link to home
Start Free TrialLog in
Avatar of jglazer63
jglazer63

asked on

Tabcontainer: Tabs change when hitting a select

I have a tab container with two tab panels.  Panel 2 has a gridview that has a select button.  When I hit the select button in the grid, the TabContainer goes to the default, Panel 1 view again and I don't want it to.  How do I keep it on Panel 2 when the button is hit?
Avatar of abel
abel
Flag of Netherlands image

Sounds to me that the select button (you mean a select list?) has a AutoPostBack = true. Or it is in an UpdatePanel object with similar settings. Change that to false and you should be fine.
Avatar of jglazer63
jglazer63

ASKER

Well the select button is on a bunch of gridview rows (autogenerateselect).  Where would I set postback??
ASKER CERTIFIED SOLUTION
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes there is
Can you then please post the code part, including the whole updatepanel (if any) and/or the whole tabcontrol?