|
Rank: Newbie Groups: Member
Joined: 5/29/2010 Posts: 2
|
Hi all, I have a question. I have a tab strip with various TabItem that are autoselected via the parameter "AutoSelectSource". I was wondering if it was possible to change or maintain the selection of a particular TabItem that it is not necessarily linked to a page: in practice, when i navigate to a page where the link is not present in my TabItem TabStrip, this selects the first automatically TabItem that in my case is represented by "Home". I hope I was clear and I thank you in advance... Bye
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe you can do that. You can just set the TabStrip's SelectedIndex to the value you wanted for that case. AutoSelectSource would not do anything if it can not find a match (it will modify your SelectedIndex if it does find a match).
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 5/29/2010 Posts: 2
|
Thanks first of all, I have eg 3 TabItem: Home - History - Product These tabs are tied with AutoSelectSource = "NavigateUrl" to various pages above. Qunado example i browse a page that does not have his on TabItem, the selection is set to TabItem Home. But I would like to keep her locked up for Product... Thanks again...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
No. The TabStrip will not automatically do that for you. You will need to write code to do that.
Thanks!
|
|