• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 622
  • Last Modified:

Ajax TabContainer activetabindex changes when active tab is changed on remote machine

Hi,

I am using ajax tabcontainer in my webpage.  i have around 6 tabs in it.

when the active tab is changed on some other machine, it is getting changed on the local machine as well.

Thanks
0
Shiva-Kumar
Asked:
Shiva-Kumar
  • 2
  • 2
1 Solution
 
cdaly33Commented:
Are you using some global setting to hold the active tab?
0
 
Shiva-KumarAuthor Commented:
yes, i am using a global variable to hold the active tab value.

Public shared string selectedtab // this is the variable in which i am storing the active tab and this gets changed everytime when somebody on mypage changes the tab which reflects locally and vice-versa.

Thanks
0
 
cdaly33Commented:
I would recommend that if you don't want it to change on everyone's then make it a variable that's local to each user such as a session or viewstate variable.
0
 
Shiva-KumarAuthor Commented:
I have changed the variable with the viewstate variable and that worked.

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now