Solved

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

Posted on 2009-05-06
4
601 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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