Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nikos Daskalakis on Oct 31, 2007 04:29
open dhtmlx forum
Tabbar

Hi,
i use tabbar (html initialization) and i want to maintain the selected tab after postback.

Can you help me with this please?

Thank you in advance!
Answer posted on Oct 31, 2007 11:12
Tabbar has not ability to save state between page submits automatically, but you can use js API

    var id = tabbar.getActiveTab(); //get current tab
    ...
    tabbar.setTabActive(id);

and store id as part of postback or in cookie