Group: StrataFrame Users
Posts: 87,
Visits: 3.3K
|
Hi,
I have a webform for maintaining users that contains 2 dropdown lists for selection: lstCustomers and lstUsers, and a third dropdown list lstUserType populated from boUserType which displays the type of the selected user.
lstCustomers is populated from BO boCustomers and lstUsers is populated with users for the selected customer from lstCustomers using BO boUsers.
In the selection changed event for lstCustomers I repopulate boUsers and refresh the display of lstUsers.
All is working fine except for when I select a customer that has no users. In this case I get an error
lstUserType' has a SelectedValue which is invalid because it does not exist in the list of items.Any suggestions on how to get around this most greatfully received,
TIA
Andy
|