Solved

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

Posted on 2009-05-06
4
605 Views
Last Modified: 2013-11-07
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
Comment
Question by:Shiva-Kumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:cdaly33
ID: 24318218
Are you using some global setting to hold the active tab?
0
 

Author Comment

by:Shiva-Kumar
ID: 24318479
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
 
LVL 9

Accepted Solution

by:
cdaly33 earned 500 total points
ID: 24318855
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
 

Author Closing Comment

by:Shiva-Kumar
ID: 31578646
I have changed the variable with the viewstate variable and that worked.

Thanks
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question