What steps will reproduce the problem?
1 Create a page:
<com:TAccordion HeaderCssClass="accHeader" ID="myAccordion"
ActiveHeaderCssClass="accActHeader" >
<com:TAccordionView Caption="Vista 1">
Contenido 1...
</com:TAccordionView>
<com:TAccordionView Caption="Vista 2">
Contenido 2...
</com:TAccordionView>
<com:TAccordionView Caption="Vista 3">
<com:TButton ID="btnTest" onClick="btnTest_onClick" Text="Click!" />
</com:TAccordionView>
</com:TAccordion>
2. Add some php:
public function btnTest_onClick()
{
$this->myAccordion->ActiveViewIndex=1;
}
3. Open the third view and click on the button
What is the expected output? What do you see instead?
The page should load and show the second view, since the zero-based
ActiveViewIndex property is set to 1.
Instead, the default view gets shown.
Please use labels and text to provide additional information.
It works using the ActievViewID property instead.
This could affect other controls like TTabPanel, too.
Original issue reported on code.google.com by ctrlal...@gmail.com on 15 Feb 2013 at 7:56
Original issue reported on code.google.com by
ctrlal...@gmail.com
on 15 Feb 2013 at 7:56