Toggle Buttons dosen't work good with fireEvent

  1. #1

    Toggle Buttons dosen't work good with fireEvent

    I have this button:

    <ext:Button ID="btnVista" runat="server" Icon="ApplicationKey" EnableToggle="true" Pressed="false">
    <ext:ToolTip ID="tipVista" runat="server" Html="<%$ Resources:LocalizedText, DinamicasTransaccionales_Toolbar_Boton_Vista %>" AutoWidth="true" />
    <Click Handler="alert('Hi there!');" />
    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:

    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;

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

    Thanks!!! Sorry my english isn't very good!
  2. #2
    I found the solution here:

    Setting manuali after fireEvent the "toggle" property.


    Can be marked as Solved!! Thanks!!

Similar Threads

  1. [CLOSED] Special characters dosen't works in message box in IE8
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 03, 2012, 12:01 PM
  2. Replies: 6
    Last Post: Feb 24, 2010, 8:22 PM
  3. Replies: 0
    Last Post: Aug 04, 2009, 9:57 AM
  4. [CLOSED] ComboBox FireEvent on Coolite 0.8.2
    By macap in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2009, 10:47 AM
  5. Replies: 2
    Last Post: Mar 26, 2008, 9:41 AM

Tags for this Thread

Posting Permissions