Answered Switch to a tab called "MoreDetails"

  • Tuesday, February 21, 2012 10:16 AM
     
     

    Hi, i have a <CUSTOMER DETAILS SCREEN> with many tabs.

    How can i switch to the tab called "MoreDetails" using a command button?

    thank you

All Replies

  • Tuesday, February 21, 2012 10:36 AM
     
     Answered Has Code

    Try using the FindControl method to find the tab and call its Focus method to set the focus to that control.

    EG

        FindControl("PartsAwaitingApprovalTab").Focus()
    

    Simon Jones
    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, please remember to "Mark as Answer". This will help other people find answers to their problems more quickly.

    • Proposed As Answer by Yann DuranModerator Tuesday, February 21, 2012 12:13 PM
    • Marked As Answer by tsiakk Tuesday, February 21, 2012 12:47 PM
    •