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. Advertisements

  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. Advertisements

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. Psych971
    Replies:
    5
    Views:
    4,865
    bruce barker
    Dec 17, 2004
  2. =?Utf-8?B?Q2hhZA==?=

    Postback not being set to True on first postback

    =?Utf-8?B?Q2hhZA==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    642
    =?Utf-8?B?Q2hhZA==?=
    Apr 4, 2005
  3. gce
    Replies:
    2
    Views:
    1,855
  4. Jacky Chau
    Replies:
    2
    Views:
    2,313
    Ninjamyst
    Jun 8, 2005
  5. steve
    Replies:
    4
    Views:
    721
    Brian van den Broek
    Mar 13, 2005
  6. Fabio Mastria
    Replies:
    5
    Views:
    4,703
    TechMCAD13
    Jan 30, 2008
  7. gnewsgroup
    Replies:
    1
    Views:
    509
    gnewsgroup
    Feb 13, 2008
  8. Ed Cayce
    Replies:
    0
    Views:
    1,034
    Ed Cayce
    Aug 8, 2009
Loading...