My dropdownlist only updates its selection the second time it has been selected.

Discussion in 'ASP .Net' started by Jensen bredal, Sep 26, 2005.

  1. Hello,
    I have an <asp:dropdownlist... on my user control.

    When i select an item from the list, it does not record the selection. It
    does it only the second time.
    This also happens with a button in the same htmal table .

    Does anyone know what can cause this?

    Many thanks in advance

    JB
     
    Jensen bredal, Sep 26, 2005
    #1
    1. Advertising

  2. Jensen,

    Only a guess... Are you adding the list and button as a dynamic user
    control? If so, give the user control an ID on every page load:

    Me.Id = "MyUserControl"

    If what I stated above is true then adding the ID will fix the problem.

    --
    Sincerely,

    S. Justin Gengo, MCP
    Web Developer / Programmer

    www.aboutfortunate.com

    "Out of chaos comes order."
    Nietzsche
    "Jensen bredal" <> wrote in message
    news:...
    >
    > Hello,
    > I have an <asp:dropdownlist... on my user control.
    >
    > When i select an item from the list, it does not record the selection. It
    > does it only the second time.
    > This also happens with a button in the same htmal table .
    >
    > Does anyone know what can cause this?
    >
    > Many thanks in advance
    >
    > JB
    >
     
    S. Justin Gengo, Sep 26, 2005
    #2
    1. Advertising

  3. Re: My dropdownlist only updates its selection the second time it has been selected.(Strange .Net)

    This issue was resolved by patching my win2k3 .Net framework 1.1 with the
    service pack 1.

    I have spent countless hours on this to find out that the framework was
    failing.


    Many thanks

    JB
     
    Jensen bredal, Sep 27, 2005
    #3
    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. Rahul T.
    Replies:
    3
    Views:
    8,698
    sundar
    Dec 3, 2004
  2. Med
    Replies:
    0
    Views:
    572
  3. thunk
    Replies:
    1
    Views:
    330
    thunk
    Mar 30, 2010
  4. thunk
    Replies:
    0
    Views:
    509
    thunk
    Apr 1, 2010
  5. thunk
    Replies:
    14
    Views:
    644
    thunk
    Apr 3, 2010
Loading...

Share This Page