I am using the EnableAutomaticLoadOnDemand with the combo box and it's great but I have 1 problem. I need to have a row already in the combo and still be able to trigger the loading of the combo.
Here is the scenario. I have a form that display a bunch of information for a given database record. I need to show the user the associated item in the combobox but I do not want to load all of the rows of that combo until they choose to see them. I am fine with just inserting 1 row into the combo and then triggering the loading of all the combo rows when the combo is clicked.
So basically how can I achieve this scenario of inserting 1 row into the combo so the user can see the data for that item and still trigger the loading of all rows when the combo is clicked.
In my tests I have inserted a row both on the server and on the client but in doing so prevents the triggering of the LoadOnDemand.
Here is the scenario. I have a form that display a bunch of information for a given database record. I need to show the user the associated item in the combobox but I do not want to load all of the rows of that combo until they choose to see them. I am fine with just inserting 1 row into the combo and then triggering the loading of all the combo rows when the combo is clicked.
So basically how can I achieve this scenario of inserting 1 row into the combo so the user can see the data for that item and still trigger the loading of all rows when the combo is clicked.
In my tests I have inserted a row both on the server and on the client but in doing so prevents the triggering of the LoadOnDemand.