D
Dave
Hello,
I'm starting with asp.net and i don't know how to raise the
SelectedIndexChange event when clicking in a dropdownlist control.
I thought it was the same as by clicking on a button.
This is what i did:
<aspropDownList ID="DropDownList1" runat="server">
</aspropDownList>
In the code-behind:
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
response.write("test ok")
end sub
But nothing happens when clicking in the dropdownlist.
I probably miss some code ...
Any help woul be appreciated
Dave
I'm starting with asp.net and i don't know how to raise the
SelectedIndexChange event when clicking in a dropdownlist control.
I thought it was the same as by clicking on a button.
This is what i did:
<aspropDownList ID="DropDownList1" runat="server">
</aspropDownList>
In the code-behind:
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
response.write("test ok")
end sub
But nothing happens when clicking in the dropdownlist.
I probably miss some code ...
Any help woul be appreciated
Dave