ListPicker single select NULL selection not possible

6 posts, 0 answers
  1. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 06 Dec 2012 Link to this post

    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

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 10 Dec 2012 Link to this post

    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.
  3. DevCraft banner
  4. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 10 Dec 2012 Link to this post

    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
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 12 Dec 2012 Link to this post

    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.
  6. BillVo
    BillVo avatar
    12 posts
    Member since:
    Aug 2010

    Posted 22 Oct 2013 Link to this post

    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
  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 25 Oct 2013 Link to this post

    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 >>
Back to Top
DevCraft banner