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

Item activation when DataBoundListBox is in the reordering mode

5 Answers 75 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.
Alex
Top achievements
Rank 1
Alex asked on 24 Sep 2012, 06:39 AM
Hello.

Can I somehow programmatically activate an item when the listbox is in the reordering mode? For example I need to set the reordering mode and then activate the first item at once with no tapping and no holding. Is it possible?

Thanks in advance.

5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 24 Sep 2012, 07:06 AM
Hello Alex,

Thanks for writing and for your question.

This is currently not possible. The semantics of Item Reorder imply that the mode is activated by choosing a pivot item for reordering. You cannot first activate the mode and then select an item which is to be reordered. Can you please share with us some further details on your scenario so that we can make an evaluation and see whether we can help you out?

Let me know if you have further questions or need assistance.

Kind regards,
Deyan
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Alex
Top achievements
Rank 1
answered on 24 Sep 2012, 07:26 AM
I think that items reordering in the listbox isn't a standard feature in WP7. I think that many users won't be able to guess that by holding an item they can change the order of items in the list. I've invented two ways to show user how to work with the reordering:
1) Show a textual hint (in the MessageBox for example).
2) Activate first item (and make buttons with arrows visible).
So as I can see only the first option is possible...

P.S.
Maybe is there a way to generate Hold event on the first RadDataBoundListBoxItem programmatically?
0
Accepted
Deyan
Telerik team
answered on 25 Sep 2012, 09:45 AM
Hi Alex,

Thanks for getting back to us.

Indeed, you have a point here that if the developer does not give a hint for the user that items can be reordered the user won't be able to guess by themselves. Although in similar scenarios it is normal to explain to your users what they can do on the current page, it might be useful in some special cases to be able to programmatically activate the reordering functionality.

We will make sure to enable this in Q3 2012.

Thanks for your feedback.

Kind regards,
Deyan
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Alex
Top achievements
Rank 1
answered on 30 Dec 2012, 01:48 PM
Hello.
Was the functionality described by me in posts above implemented in Q3 2012? I can't find by himself.

UPD
I've found method called ActivateItemReorderForItem. Is it what I need? The documentation is empty and I can't check this method in action now.
0
Accepted
Kiril Stanoev
Telerik team
answered on 03 Jan 2013, 09:05 AM
Hello Alex,

Yes, this is the method you should be using for your particular scenario. We'll make sure to update the documentation accordingly. Let me know how it goes. 

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.
Tags
DataBoundListBox
Asked by
Alex
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Alex
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or