Solved

Tabitem re-order depending on login

Posted on 2009-06-30
2
189 Views
Last Modified: 2013-11-27
Is there a way to re-order the tabitems in my application based upon login, This is an XBAP application..

On the design page we can right click on the tabitem and select order and one of the bring forward or send back etc.. but I would like to re-order tabitems programatically... Is this possible? This is pretty critical for my application so any help is greatly appreciated..
Thanks!
0
Comment
Question by:Pavithra_S
[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 Comments
 
LVL 5

Accepted Solution

by:
Opalelement earned 250 total points
ID: 24756644
I don't know about XBAP as I have never used it, but I do know that in Visual C# you can do tabControl.TabPages.RemoveAt and InsertAt, meaning you could move it by deleting and then reinserting
0
 

Author Closing Comment

by:Pavithra_S
ID: 31598462
The following code worked...
tabControl.Items.Remove(item);
tabControl.Items.Insert(p, item)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

738 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