Skip to Content
author's profile photo Former Member
Former Member

Control tabstrip during runtime

Hi All,

I need to control tabstrip during runtime here i am having 6 tabs where i need to display tab3 as default. Here we use Selected Tab property to display tabs but here i need to bind attribute and control Selected Tab property through coding .Can anyone tell me how to do this.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 09, 2012 at 08:14 AM

    Hi Rahul,

    Pls note that TabStrip UI element's selected Tab property can be bound to a context attribute of type String.

    Also, note the options the selected Tab gives you in the drop down.

    In my case the options are Tab and Tab1 as i have cretaed two tabs.

    If you execute the following code then Tab(first one) will be selected


    If you execute the following code then Tab1(second one) will be selected


    I put this code on actions of respective Buttons and it worked fine dynamically at run time.

    I hope this will help solve your problem.


    -Amol Gupta

    tab1.jpg (8.9 kB)
    tab2.jpg (20.6 kB)
    tab3.jpg (46.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.