DataList with TextBox

Discussion in 'ASP .Net' started by =?Utf-8?B?QnJ1Y2UgUGFya2Vy?=, Mar 5, 2004.

  1. I have a DataList web control with a couple of TextBox controls in the ItemTemplate. I want to receive a TextChanged event on a post back. How do I do this?
     
    =?Utf-8?B?QnJ1Y2UgUGFya2Vy?=, Mar 5, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?QnJ1Y2UgUGFya2Vy?=

    Teemu Keiski Guest

    Assign them an event handler method declaratively in aspx or wire it in
    code. The latter would happen in ItemCreated method of the DataList. It's no
    different from normal even wiring except that Vs.NET does not automatically
    support that (might seem harder therefore)

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist


    "Bruce Parker" <> wrote in message
    news:...
    I have a DataList web control with a couple of TextBox controls in the
    ItemTemplate. I want to receive a TextChanged event on a post back. How do
    I do this?
     
    Teemu Keiski, Mar 6, 2004
    #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. Gönen EREN

    Datalist in Datalist How?

    Gönen EREN, Aug 22, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    417
    Gönen EREN
    Aug 22, 2003
  2. acko bogicevic

    DataList in DataList

    acko bogicevic, Nov 10, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    5,543
    acko bogicevic
    Nov 11, 2003
  3. Steve Lloyd
    Replies:
    1
    Views:
    710
    Rick Spiewak
    May 26, 2004
  4. Nevyn Twyll
    Replies:
    8
    Views:
    1,916
  5. Luis Esteban Valencia
    Replies:
    1
    Views:
    496
    John Saunders
    Jan 6, 2005
Loading...

Share This Page