How to force indexchanged event when my dropdown list contains only one item
I have a drop-down list of banks that gets dynamically filled from an SQL table based on order number. It is therefore possible for the DDL to contain a single entry for a given order. Normally, when I select an entry in the drop down list, the indexchanged event causes an SQL query to run which populates a series of textboxes with related data about the selected entry.
My problem is this: When I have only one entry in the DDL, no matter how many times I click or double-click on it to select it, an indexchanged event is never triggered. How can I force an indexchanged event for this scenario, so that the bank's related data will be displayed?