Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now