TextBox onchange event for templated column in gridview

Discussion in 'ASP .Net Web Controls' started by Jon Prisbe, Jun 8, 2006.

  1. Jon Prisbe

    Jon Prisbe Guest

    I have a gridview with one column that is a templatefield. The item template
    is a textbox. I have added a TextChanged event handler via the VS2005
    properties window but when I change the text and exit the textbox my handler
    never gets called.

    What am I doing wrong?

    Thanks,
    Jon Prisbe, Jun 8, 2006
    #1
    1. Advertising

  2. Jon Prisbe

    Prakash V Guest

    Add AutoPostBack="true" for that textbox.

    Regards,
    Prakash

    "Jon Prisbe" <> wrote in message
    news:...
    >I have a gridview with one column that is a templatefield. The item
    >template
    > is a textbox. I have added a TextChanged event handler via the VS2005
    > properties window but when I change the text and exit the textbox my
    > handler
    > never gets called.
    >
    > What am I doing wrong?
    >
    > Thanks,
    Prakash V, Jun 9, 2006
    #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. Guest
    Replies:
    2
    Views:
    584
    Guest
    Nov 10, 2003
  2. RA Scheltema
    Replies:
    3
    Views:
    395
    RA Scheltema
    Jan 6, 2004
  3. Marijn
    Replies:
    5
    Views:
    454
    Marijn
    Feb 13, 2004
  4. Replies:
    0
    Views:
    2,227
  5. Amadeus W. M.
    Replies:
    2
    Views:
    391
    Amadeus W. M.
    Jul 4, 2006
Loading...

Share This Page