dropdownlist in repeater OnSelectedIndexChanged

Discussion in '.NET' started by weegosan, Jun 27, 2007.

  1. weegosan

    weegosan

    Joined:
    Jun 27, 2007
    Messages:
    1
    I have a Repeater bound to a DataTable and in the OnItemDataBound it's then populating the dropdownlist for each Item.

    What I wanted to be able to do in the dropdownlist for each Item in the repeater was auto save the new value in the OnSelectedIndexChanged event, however clearly to be able to do that I need to know which Item of the repeater the dropdownlist thats fired the OnSelectedIndexChanged is in so I can get the Item.DatatItem and get the uid for the subsequent database save.

    I'd post code, but I've got nothing even close to getting it to work... hope the explanation covers it.


    Thanks.
     
    weegosan, Jun 27, 2007
    #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. Alexander Reichman

    Dropdownlist onselectedIndexChanged event not fires

    Alexander Reichman, Oct 17, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    23,322
  2. Paul L
    Replies:
    1
    Views:
    7,302
    samuelrobertson@gmail.com
    May 6, 2005
  3. utterberg@gmail.com
    Replies:
    8
    Views:
    766
    utterberg@gmail.com
    Aug 16, 2005
  4. =?Utf-8?B?Z2xlbm4=?=

    DropDownList control and OnSelectedIndexChanged event

    =?Utf-8?B?Z2xlbm4=?=, Apr 21, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    8,358
    =?Utf-8?B?Y2xpY2tvbg==?=
    Apr 21, 2006
  5. =?Utf-8?B?Z2xlbm4=?=
    Replies:
    5
    Views:
    3,665
    Jeff Dillon
    Apr 25, 2006
Loading...

Share This Page