How to set the WebTab's selected index client side?
Hello Bala,
You can set it on WebTab Initialize client-side event by accessing the set_selectedIndex method through the sender object, for instance:
function tab_init(sender, args) { sender.set_selectedIndex(1); }
If you need further assistance, please let me know.
Regards,
Tsanna
Dear Tsanna,
Thanks for your reply.
This code can be used to set the selected index for the first time.
But I want to set it on a button click event in javascript.
In UltraWebTab we use to set it as below:
igtab_getTabById('UltraWebTab1').setSelectedIndex(4);
I want something like this.
Please help me on the same.