This is a migrated thread and some comments may be shown as answers.

ListPicker single select NULL selection not possible

5 Answers 76 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
HDC
Top achievements
Rank 1
HDC asked on 06 Dec 2012, 08:04 AM
Hi,

It is very annoying that the ListPicker autoselects the first entry in Single Select Mode.

Is there a way to avoid that ListPicker behaves this way?

I want to the set selected item myself from isolated storage after loading the content and save the selectitem in MVVM using the selecteditem binding, right now, i cannot do this because selecteditem overwrites the previously saved setting when the content of the listpicker is loaded.

I should be able to define if the listpicker will autoselect the first item.

Best Regards,

Peter

5 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 10 Dec 2012, 09:46 AM
Hello Heli,

Currently, setting empty selection is not supported by the list picker.  It is in our plans for the next official release (February 2013)  to introduce the empty selection feature. Let me know if that is ok with your schedule.

Kind regards,
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
HDC
Top achievements
Rank 1
answered on 10 Dec 2012, 10:02 AM
Hi Kiril,

Thanks for adding the feature to your next release.

It's acceptable. 

I have addressed the issue for now with a dummy entry in the list picker, but to be able to set an empty selection would certainly be a big improvement.

I don't remember the exact name of the property, but i believe there was a property that would allow to display a text in the listpicker when no selection was made. Will this feature be working then too?

Best Regards,

Peter
0
Kiril Stanoev
Telerik team
answered on 12 Dec 2012, 11:52 AM
Hi Heli,

I discussed your request with our development team and here's what we think so far. When in single selection mode, the ListPicker was designed with the philosophy that "there is always an active selection", so it makes sure to select an item when it initializes or when the list changes. This is how the native ListPicker behaves as well.
If we decide to implement the concept of EmptyContent (similar to Date- and TimePicker) this might potentially introduce breaking changes which, in turn, will make a lot of people unhappy. 
The workaround you've implemented is the suggested way of achieving your particular scenario. This is the way Microsoft take when having ListPickers with "empty" selection in the Windows Phone OS.

I understand that introducing EmtpyContent will have certain benefits, but having in mind the above concerns, we should be very careful. We are going to further discuss the possibility of introducing a feature like that but for now our advice is to stick to the approach you have already implemented with a "dummy" item.

Let me know how urgent and necessary this feature is for you. I'd be glad to continue the discussion with you.

Kind regards,
Kiril Stanoev
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
BillVo
Top achievements
Rank 1
answered on 22 Oct 2013, 05:43 PM
What's the status of this issue?  Does ListPicker now support empty selection?  With version 2013.3.1016.2040 I'm seeing ListPicker re-initialize from null to the first ItemsSource item.

Thanks,
BillVo
0
Kiril Stanoev
Telerik team
answered on 25 Oct 2013, 08:12 AM
Hello Bill,

Thank you for contacting us. For the moment we don't have a plan to introduce EmptyContent inside RadListPicker.  We recommend the approach to implement a "dummy" item.

Regards,
Kiril Stanoev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ListPicker
Asked by
HDC
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
HDC
Top achievements
Rank 1
BillVo
Top achievements
Rank 1
Share this question
or