.Net 2 C#: DropDownList arguments and me

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: .Net 2 C#: DropDownList arguments and me

  1. #1
    Join Date
    Dec 2006

    .Net 2 C#: DropDownList arguments and me

    Hello peeps,

    Im hoping you can help me with what is most likely a very simple problem.

    I have a dropdownlist. This dropdownlist represents a count for a product and is part of a repeater. Just before the repeater reaches each dropdownlist, i set the quantity from the dataset and afterwards populates the dropdownlist using this value inside a method bound to OnDataBinding on the dropdownlist control itself.

    So far so good, that works like a charm.

    However, when the page life cycle has ended and the user reselects an entry in one of the dropdowns, i would ofcourse like to update this. I have a method bound to OnSelectedIndexChanged and AutoPostBack set to true. My problem is that the id of the product which the dropdownlist represents is not present.

    What i really want to do is pass an argument when OnSelectedIndexChanged fires, but i have not been able to find any ways of doing this?

    Im sure im missing something simple here.

    Thank you in advance,


  2. #2
    Join Date
    Dec 2006
    Hmm.. I can see that several people have viewed this thread, and also that there is never threads than this one with replies.

    Is my question unclear or is my problem more complex than i think? (and i still cant find a darn solution for it )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center