This will unfortunately not work for me for a couple of reasons:
1. My content is dynamically loaded where as yours is statically loaded.
2. You are using the event of a Button press whereas I need to dynamically go to a Tab when the page loads based on some data criteria.
Thanks for your help