Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 14, 2009 at 02:04 PM

    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

    Add comment
    10|10000 characters needed characters exceeded