hello all!
i have two drop down lists, one is the two letter country code and the other is the actual name of the country. if the country code is changed, the name of the country in the drop down list must also change. in the same manner of the country is changed, the country code must also change and should reflect the appropriate country code. i know this can be done easily by setting the autopostback property of the two drop down lists and setting the selectedvalue of the country code similar to the code below:
Private Sub DropDownOriginDesc_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownOriginDesc.SelectedIndexChanged
DropDownOrigin.SelectedValue = DropDownOriginDesc.SelectedValue
End Sub
my first question is this, i want to achieve the same result without using autopostback, is this possible?
my second question is, does the autopostback put "additional" load on my server that it might result in performance degradation? because if not i might as well stick to using autopostback instead of figuring out a way around it.
thanks in advance
i have two drop down lists, one is the two letter country code and the other is the actual name of the country. if the country code is changed, the name of the country in the drop down list must also change. in the same manner of the country is changed, the country code must also change and should reflect the appropriate country code. i know this can be done easily by setting the autopostback property of the two drop down lists and setting the selectedvalue of the country code similar to the code below:
Private Sub DropDownOriginDesc_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownOriginDesc.SelectedIndexChanged
DropDownOrigin.SelectedValue = DropDownOriginDesc.SelectedValue
End Sub
my first question is this, i want to achieve the same result without using autopostback, is this possible?
my second question is, does the autopostback put "additional" load on my server that it might result in performance degradation? because if not i might as well stick to using autopostback instead of figuring out a way around it.
thanks in advance