cancel
Showing results for 
Search instead for 
Did you mean: 

Recovering the selected tab of a TabStrip UI Control

Former Member
0 Kudos

Hi forum:

Hi have a trabStrip control with some diferents id´s in their tabs and also onSelect action of this tabstrip i want to recover the id of the selected tab, but the selected tab can be only recover from the wdDoModifyView , how can i do this, if the wdDoModifyView is static and my onSelect method is non-static?

Thnks

Joshua

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Josue,

you can simply map tabstrip "selectedTab" property to context atribiute and use it enywhere you want:) (b.e. in onSelect event handler)

Regards Bogdan

Answers (1)

Answers (1)

Former Member
0 Kudos

Bind the "selectedTab" property to a context attribute of type "string". Then you can always get the selected tab from this attribute.

Armin