DropDownList event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • RichGK

    #1

    DropDownList event

    How can I get a SelectedIndexCh anged event to fire when the user uses
    the arrow up and down keys on the keyboard to step through the entries
    in the list?

  • Mansi Shah

    #2
    Re: DropDownList event


    Hi,

    If you have set "AutoPostBa ck" property to "True" then it will handle
    SelectedIndexCh anged event on up and down arrow keys.

    Regards,
    Mansi Shah.

    *** Sent via Developersdex http://www.developersdex.com ***

    Comment

    • RichGK

      #3
      Re: DropDownList event

      On 7 Nov, 12:58, Mansi Shah <ma...@devdex.c omwrote:
      Hi,
      >
      If you have set "AutoPostBa ck" property to "True" then it will handle
      SelectedIndexCh anged event on up and down arrow keys.
      >
      Regards,
      Mansi Shah.
      >
      *** Sent via Developersdexht tp://www.developersd ex.com***
      >
      _alt.0
      1KDownload
      Hi,

      AutoPostBack is set to true but it still doesn't fire an event, this
      is on a Web Form.

      Comment

      • Matthew Newman

        #4
        Re: DropDownList event

        I just checked a project I have been working on that uses DropDownLists and
        SelectedIndexCh anged and it fires for me. Does the event fire correctly when
        you select a different value with the mouse?

        "RichGK" <RichGK@hotmail .co.ukwrote in message
        news:1194441457 .867594.6050@y4 2g2000hsy.googl egroups.com...
        On 7 Nov, 12:58, Mansi Shah <ma...@devdex.c omwrote:
        >Hi,
        >>
        >If you have set "AutoPostBa ck" property to "True" then it will handle
        >SelectedIndexC hanged event on up and down arrow keys.
        >>
        >Regards,
        >Mansi Shah.
        >>
        >*** Sent via Developersdexht tp://www.developersd ex.com***
        >>
        > _alt.0
        >1KDownload
        >
        Hi,
        >
        AutoPostBack is set to true but it still doesn't fire an event, this
        is on a Web Form.
        >

        Comment

        Working...