i have problem with ListPicker control. I have collection of banks which are bind to ListPicker ItemSource. If i have SelectedItem null i need show empty record. How can i resolve this problem?
Thanks for reply.
Vladimir
1 Answer, 1 is accepted
0
Georgi
Telerik team
answered on 18 Oct 2011, 10:06 AM
Hi VladimĂr,
Thank you for contacting us.
The control is not designed to support empty values (records). Instead, you can have a special "Empty" item - e.g. at index 0 and whenever an empty value should be selected to specify that special item. For example:
if(this.shouldSelectEmptyValue)
{
this.radListPicker1.SelectedIndex = 0;
}
else
{
// perform the actual selection
}
I hope this information is useful. Let me know if I can assist you in some other way.
All the best,
Georgi
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>