Solved

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

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Pass through dll 2 37
Visual Studio: built-in keystroke automation 2 23
C# code editing and collaboration 3 44
Get String split 5 33
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…
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 …
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

18 Experts available now in Live!

Get 1:1 Help Now