PageControl: Can't update TabIndex over Ajax
Brought to you by:
ttm
I have a page with a PageControl and wants this refresh over Ajax. Unfortunately this does not work with the property TabIndex.
According to my investigation will not upgrade from TabIndex on the Ajax response sent back.
My provisional solution is:
comctrls.inc.php insert this lines in dumpForAjax (after commonScript, at line 1403):
if (($this->_tabindex>=0) && ($this->_tabindex<=count($this->_tabs))) {
$selectedtab= "tab" . $this->Name . "_" . ($this->_tabindex+1);
echo " $selectedtab.setChecked(true);\n";
}
Perhaps there is a simpler solution to this problem ?
SVN: 257