11-04-2012 07:04 AM
Is there any reasonably simple way of ensuring a SystemListDialog always has at least one item selected when user chooses to dismiss the dialog ?.
Our usage happens to be
i) list of items
ii) only 1 item can be selected (i.e. ListSelectionMode:
ingle) at a time
iii) 1 item must be selected to make any sense
iv) we can seed 1 item to be selected at dialog creation.
The current implementation allows user to tap on currently selected item + cause that item to be de-selected - leaving a dialog with no selected items. They can then dismiss the dialog.
We can see various complicated ways to stop this, but think we must be missing something somewhere as this must be a pretty common requirement - user must choose one of the available options to meaningfully proceed.
11-12-2012 02:07 PM
No, there is no simple way to do this. I have raised a bug internally about this issue.
It is possible to do this with a custom Dialog, but I assume that you have already considered that.