I have this button:

<ext:Button ID="btnVista" runat="server" Icon="ApplicationKey" EnableToggle="true" Pressed="false">
<ToolTips>
<ext:ToolTip ID="tipVista" runat="server" Html="<%$ Resources:LocalizedText, DinamicasTransaccionales_Toolbar_Boton_Vista %>" AutoWidth="true" />
</ToolTips>
<Listeners>
<Click Handler="alert('Hi there!');" />
</Listeners>
</ext:Button>
When I click it using the mouse, show a message "Hi There!" and the button is showed as pressed.

But when I call it using javascript:

btnVista.fireEvent("click");
Show the message "Hi There!" but the button still showing as no pressed.

¿Why this happend or how can do the button show as pressed using Javascript?

I'm trying using:

#{btnVista}.pressed = true;
or

#{btnVista}.pressed = false;
The pressed value change, but visualy the button don't show as pressed.

Thanks!!! Sorry my english isn't very good!