cancel
Showing results for 
Search instead for 
Did you mean: 

How to Switch between different tabs on an Button Action at Runtime

Former Member
0 Kudos

Hi all,

I have a problem if u can help me out.

I have included a tabstrip which contains two Tabs

Tab1 contains a Table

Tab2 Contains a Form and add button

i want that when after filling all the information(Tab2) i click on Add button it should go to Tab1.

i am able to update data at runtime but unable to switch between Tabs.

If anyone can provide solutions it would be helpful.

Thanks & Regards

Arvind Dhatwalia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bind the "selectedTab" property of the TabStrip to some context attribute (type string). In the action handler for the button, set the value of the context attribute to the ID (case-sensitive) of the Tab to be selected.

Armin

Former Member
0 Kudos

Thanks Armin, it worked.

Answers (0)