i dont think my on change function is being called…why?
Public Sub selCurrentManuf_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles selCurrentManuf.SelectedIndexChanged
Response.Write("<script language='javascript'>alert('"+"oi"+"');</script>")
End Sub
<asp:DropDownList runat="server" ID="selCurrentManuf" OnSelectedIndexChanged="selCurrentManuf_SelectedIndexChanged"></asp:DropDownList>
Am i doing something wrong?
Try adding
AutoPostBack="true"to your control markup; assuming you want it to do the action immediately. Otheriwse the event won’t fire until the form is submitted in some other way.