Hello,
I am capturing 2 sets of addresses, a job site address and a job ship address, and am using radcomboboxes as shown in the related combobox demo. I am using the comboboxes for city, state, county, zip and country. I have a checkbox so that if the ship address is the same as the site address one can check the box and the values will be copied from the site address to the ship address. In addition, I'd like to be able to change the ship address if necessary (after checking the box) by making use of the comboboxes. I currently have a function for the onclick event of the checkbox called DupAddresses(). Inside the DupAddresses() function I am calling the requestItems event and passing the appropriate data for each combobox. I don't get any error messages, and when I put in javascript alerts and codebehind breakpoints, it looks like the appropriate data is going to the right place. When the checkbox is clicked, I am able to successfully use combobox.set_text to set the appropriate text in the fields, but I have not been able to figure out how to databind the updated combo values to the comboboxes - instead they retain the previous values. For example, if the original ship city/state was Birmingam/Alabama and the site city/state is Atlanta/Georgia, if I click the checkbox, I can change the ship city/state combo text to show Birmingham/Alabama, but if I click on the ship city combo the list still reflects those cities found in Alabama, not Georgia. Any ideas/suggestions would be great.
Thanks.
I am capturing 2 sets of addresses, a job site address and a job ship address, and am using radcomboboxes as shown in the related combobox demo. I am using the comboboxes for city, state, county, zip and country. I have a checkbox so that if the ship address is the same as the site address one can check the box and the values will be copied from the site address to the ship address. In addition, I'd like to be able to change the ship address if necessary (after checking the box) by making use of the comboboxes. I currently have a function for the onclick event of the checkbox called DupAddresses(). Inside the DupAddresses() function I am calling the requestItems event and passing the appropriate data for each combobox. I don't get any error messages, and when I put in javascript alerts and codebehind breakpoints, it looks like the appropriate data is going to the right place. When the checkbox is clicked, I am able to successfully use combobox.set_text to set the appropriate text in the fields, but I have not been able to figure out how to databind the updated combo values to the comboboxes - instead they retain the previous values. For example, if the original ship city/state was Birmingam/Alabama and the site city/state is Atlanta/Georgia, if I click the checkbox, I can change the ship city/state combo text to show Birmingham/Alabama, but if I click on the ship city combo the list still reflects those cities found in Alabama, not Georgia. Any ideas/suggestions would be great.
Thanks.