Results 1 to 2 of 2

Thread: dropdown not working

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2002
    Posts
    80

    Question dropdown not working

    I have a drop down list box that does not post back properly. When the drop down list item changes the OnSelectedIndexChanged event triggers it run the Page_Load subroutine with no problems, but it does not run the ddDetails_SelectedIndexChanged subroutine like it's suppose to. Does anyone know why? All my other drop downs work fine. I don't know what's happening. I do not get a run-time error. Drop down code is below

    webcontrol:
    <asp:dropdownlist id="ddDetails" runat="server" OnSelectedIndexChanged="ddDetails_SelectedIndexChanged" AutoPostBack="True">

    code behind:
    Sub ddDetails_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
    getIt()
    End Sub

    James

  2. #2
    Lively Member
    Join Date
    Jan 2001
    Location
    Worcester, MA
    Posts
    77
    try adding this to the end of your sub line
    Code:
    Handles ddDetails.SelectedIndexChanged
    "Find all you need in your mind if you take the time" -DT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width