textchanged does not fire when datagrid is out of focus

Discussion in 'ASP .Net Datagrid Control' started by A'braham, Sep 21, 2004.

  1. A'braham

    A'braham Guest

    I have a paged editable datagrid (I'm using template column, not
    Editable Column)with 2 columns of labels, and two columns of
    textboxes. Outside of the datagrid control I have a drop down list
    that holds the datatable to bind to. When a value is selected from
    the dropdownlist, then the datagrid rebinds to display the appropiate
    values. If you edit any of the textboxes, the textchanged event will
    store which field was edited and another method will display a in
    screen prompt to save changes or continue without saving. This part
    works great.

    My question is this: If I edit a textbox then select a value from the
    dropdownlist which is OUTSIDE of the the datagrid control, textchanged
    is not fired. Why is this? Is it due to the focus being outside of
    the datagrid. In any case, how can I get textchanged to fire when the
    textbox is changed no matter what?
     
    A'braham, Sep 21, 2004
    #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. KathyB
    Replies:
    3
    Views:
    4,064
    Kathy Burke
    Jul 23, 2003
  2. Kathy Burke
    Replies:
    1
    Views:
    458
    John Saunders
    Jul 23, 2003
  3. Amy
    Replies:
    0
    Views:
    1,050
  4. Jean-Pierre Fouche

    Dynamic Datagrid with TextBoxes Textchanged events wont fire

    Jean-Pierre Fouche, Jul 28, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    225
    Cristian Suazo
    Jul 29, 2003
  5. A'braham

    textchanged does not fire when datagrid is out of focus

    A'braham, Sep 21, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    134
    A'braham
    Sep 21, 2004
Loading...

Share This Page