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. 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. Duwayne
    Replies:
    1
    Views:
    1,730
    MS News \(MS ILM\)
    Aug 20, 2003
  2. Anand Sagar
    Replies:
    2
    Views:
    3,707
    Anand Sagar
    Apr 28, 2004
  3. PD
    Replies:
    5
    Views:
    14,811
    Hermit Dave
    Sep 2, 2004
  4. TextBox TextChange Event

    , Jun 25, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    627
  5. nil

    Textchange event

    nil, Jan 2, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    363
  6. Keith H

    How to Fire Validators on TextChange Event

    Keith H, Sep 9, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    262
    Keith H
    Sep 9, 2004
  7. Fred Basset
    Replies:
    8
    Views:
    297
    Fred Basset
    Sep 9, 2003
  8. Roger
    Replies:
    3
    Views:
    597
Loading...