I have two tables, customers and addresses. Each customer may have many addresses, with one default address. Simplifed a bit they contain the following fields:
Customers table - Name, CustomerID, DefaultAddressID
Addresses table - Address, AddressID, CustomerID
I am using a RadGrid to edit customers, and I would like to add a function to select the default address using a GridDropDownColumn. Currently, this is listing all the addresses, not just the ones for that customer.
How can I restrict the dropdown box to only list addresses for that customer?
Kind Regards, Richard Jonas
Customers table - Name, CustomerID, DefaultAddressID
Addresses table - Address, AddressID, CustomerID
I am using a RadGrid to edit customers, and I would like to add a function to select the default address using a GridDropDownColumn. Currently, this is listing all the addresses, not just the ones for that customer.
How can I restrict the dropdown box to only list addresses for that customer?
Kind Regards, Richard Jonas