Hello all,
I have code on the server-side that populates a combobox during the ItemsRequested event. This code also knows what value should be preselected after the combobox has been populated. I tried selecting the item programmatically but it doesn't seem to have any effect on the client.
I know I can also handle the OnClientItemsRequested event and select a item on the client-side after the callback is done. However, the info i need (what item to select) is on the server-side and I don't know how to pass it back to the client.
Any ideas how this can be done?
Thanks.
I have code on the server-side that populates a combobox during the ItemsRequested event. This code also knows what value should be preselected after the combobox has been populated. I tried selecting the item programmatically but it doesn't seem to have any effect on the client.
I know I can also handle the OnClientItemsRequested event and select a item on the client-side after the callback is done. However, the info i need (what item to select) is on the server-side and I don't know how to pass it back to the client.
Any ideas how this can be done?
Thanks.