I have a page where the user selects a product. I wish to then populate the textbox value with the selected ddl value to allow them to update the value if necessary.
Here's my code:
When I debug this, txbProductFamilyUp value appears to be assigned the ddlProductFamilies.SelectedValue but when I return to the page, the textbox is null.
Any ideas?
TY
Here's my code:
Code:
Protected Sub ddlProductFamilies_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ddlProductFamilies.SelectedIndexChanged
txbProductFamilyUp.Text = ddlProductFamilies.SelectedValue.ToString
End Sub
When I debug this, txbProductFamilyUp value appears to be assigned the ddlProductFamilies.SelectedValue but when I return to the page, the textbox is null.
Any ideas?
TY