Selected Index Change of a Drop Down List
Posted on 2004-08-16
I have I one drop down list and one textbox contol on my asp page.
I want to do that, when I changed the selected index of a drop down list with special condition the textbox become disabled.
Private Sub ddlCalismaDurumu_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlCalismaDurumu.SelectedIndexChanged
If ddlCalismaDurumu.SelectedIndex = 1 Then
txtSure.Enabled = False
But this solution does not work. Because (I think) it requires refresh.
So how can I do that without refresh.