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

Selecting the "selected" item

1 Answer 47 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Scott Lovegrove
Top achievements
Rank 1
Scott Lovegrove asked on 12 Nov 2013, 07:17 PM
When using the DataboundListBox in selection mode, tapping the left hand side of the control displays the selection check boxes (like in the mail app). However, unlike the mail app (and the LongListSelector in the SDK), the item that was semi tapped in order to show this isn't selected by default. 

Is there a way to get this behaviour with the DataboundListBox?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 13 Nov 2013, 02:18 PM
Hi Scott,

Pasting here the support thread answer to your question:
 
When we designed the CheckBoxes support in RadDataBoundListBox we opted for better flexibility and therefore we decided not to perform any additional actions upon checkbox activation. We exposed several events in return that allow you to customize the behavior according to your requirements. You can take a look at our online help here:

http://www.telerik.com/help/windows-phone/raddataboundlistbox-features-multiselection-overview.html

You can basically use the IsCheckModeActiveChanged event and check the item that has been initially tapped to activate the mode. It is provided in the event arguments.

Since we've received a request for automating this behavior previously, we will log this in our TODO list for future releases and will try to implement it out of the box.

Let us know if you have additional questions.
 
Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataBoundListBox
Asked by
Scott Lovegrove
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or