Change Event then Click event : issue

  1. #1

    Change Event then Click event : issue

    Hi,

    My page has a form (Panel). There is a TextField with Change Listeners which makes a web call to check value.


    Form also has a Button with Click Listeners to post.


    But, If I change the text of the textfield and I CLICK with MOUSE onto the button; Change event is correctly handled but Click event never fires.




    clue ?
  2. #2

    RE: Change Event then Click event : issue

    please post a simplified .aspx code sample demonstrating the scenario.

    Geoffrey McGill
    Founder
  3. #3

    RE: Change Event then Click event : issue

    
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="Jerome.Web.test" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
         <ext:ScriptManager ID="scriptMan" runat="server" StateProvider="None">
        </ext:ScriptManager>
        
            <ext:TextField runat="server" ID="txtJerome">
                <Listeners>
                    <Change Handler="alert('onChangeTextField');" />
                </Listeners>
            </ext:TextField>
            <ext:Button runat="server" ID="btnJerome">
                <Listeners>
                    <Click Handler="alert('onClickButton');" />
                </Listeners>
            </ext:Button>
        
    
        </form>
    </body>
    </html>

Similar Threads

  1. Treepanel click event
    By Mr.Techno in forum 1.x Help
    Replies: 0
    Last Post: Sep 21, 2011, 5:28 AM
  2. [CLOSED] Gridpanel Paging Change Event Issue
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 06, 2011, 9:29 AM
  3. Replies: 2
    Last Post: Jun 16, 2011, 1:41 AM
  4. Panel Click Event
    By Tror in forum 1.x Help
    Replies: 0
    Last Post: Jun 08, 2010, 6:13 AM
  5. Show a panel on click event
    By CoolNoob in forum 1.x Help
    Replies: 2
    Last Post: Jan 01, 2010, 3:27 PM

Posting Permissions