postback weirdness

Discussion in 'ASP .Net Datagrid Control' started by Ian Oldbury, Apr 21, 2004.

  1. Ian Oldbury

    Ian Oldbury Guest

    i have a textbox within a grid and it postsback on textchanged event.

    i also have an image button on the page.

    however if the user changes the content of the textbox and presses return to
    action it, the textchanged event fires and then the pressing of return fires
    the clicking of the image button.

    how is it possible to stop the pressing of the return button firing the
    click of the image button?

    ian
    Ian Oldbury, Apr 21, 2004
    #1
    1. Advertising

  2. check whether u have misunderstood it.. an autopostback.. submits the
    webform in which the control is in.. . ..
    and all fields return back with values..

    also... on postback.. page load executes .. and then the text changed event
    executes if u have handled it..

    'Harish.

    "Ian Oldbury" <ian_oldbury@_NO_msn_SPAM_.com> wrote in message
    news:...
    > i have a textbox within a grid and it postsback on textchanged event.
    >
    > i also have an image button on the page.
    >
    > however if the user changes the content of the textbox and presses return

    to
    > action it, the textchanged event fires and then the pressing of return

    fires
    > the clicking of the image button.
    >
    > how is it possible to stop the pressing of the return button firing the
    > click of the image button?
    >
    > ian
    >
    >
    Harish Palaniappan, Apr 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wayne Myers

    POK Flag Weirdness wth binary files

    Wayne Myers, May 26, 2004, in forum: Perl
    Replies:
    1
    Views:
    468
    ! aaa
    May 27, 2004
  2. Replies:
    4
    Views:
    700
    J├╝rgen Exner
    Dec 7, 2004
  3. John Saunders
    Replies:
    4
    Views:
    3,534
    John Saunders
    Aug 29, 2003
  4. Chris Porter

    timezone / culture weirdness

    Chris Porter, Oct 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    344
    Bret Mulvey [MS]
    Oct 25, 2003
  5. steve
    Replies:
    4
    Views:
    515
    Brian van den Broek
    Mar 13, 2005
Loading...

Share This Page