I wanted to convert my rate field by using one dropdownlist to convert it. Eg, if the dropdownlist selected on japan, when the user select and change to malaysia the rate field will automatically change to malaysia rate from japan rate. Anyone?… Thanks…
Share
Dropdown lists have two values – the text and the value. You have either bound your dropdown list to a set of items (probably in an IEnumerable like an array or List). So all you have to do is intercept the onchange event on the client side, grab the selected value of the dropdown, and place it into the label/textbox that shows the rate. Here is an example for you:
From your description, this shows how to do what you want. I just want you to know that it hurt my head to have to do this sample in VB.Net 🙂 (so you will have to excuse my shoddy VB code, i usually do C#)