TextChange Handler not detecting lost Focus if no change to conten

Discussion in 'ASP .Net' started by =?Utf-8?B?TWVyZGFhZA==?=, Oct 25, 2006.

  1. I know that if I change the text on a textBox it would trigger the
    textBoxChange event hadler. But how about if you don't want to change
    anything on the textbox and just want to focus on it and then press return or
    Tab to cause an event.
    When I press return (without changing content) in a TextBox, a PostBack is
    generated but I don't know how to handle the event. I don't know what the
    event is.

    Q2. Is there a way (upon postback) to figure out what event triggered the
    postback?(i.e. which control on your form caused it?)

    Thanks
    =?Utf-8?B?TWVyZGFhZA==?=, Oct 25, 2006
    #1
    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. Duwayne
    Replies:
    1
    Views:
    1,599
    MS News \(MS ILM\)
    Aug 20, 2003
  2. Anand Sagar
    Replies:
    2
    Views:
    3,518
    Anand Sagar
    Apr 28, 2004
  3. PD
    Replies:
    5
    Views:
    14,493
    Hermit Dave
    Sep 2, 2004
  4. TextBox TextChange Event

    , Jun 25, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    515
  5. Roger
    Replies:
    3
    Views:
    310
Loading...

Share This Page