Menu

#129 PageControl: Can't update TabIndex over Ajax

open
nobody
Ajax (10)
7
2008-09-26
2008-09-26
wniva
No

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 ?

Discussion

  • wniva

    wniva - 2008-09-26
    • priority: 5 --> 7
     
  • wniva

    wniva - 2008-09-26

    SVN: 257

     

Log in to post a comment.