Item activation when DataBoundListBox is in the reordering mode

6 posts, 2 answers
  1. Alex
    Alex avatar
    21 posts
    Member since:
    Apr 2012

    Posted 24 Sep 2012 Link to this post

    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.
  2. Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 24 Sep 2012 Link to this post

    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.

  3. DevCraft banner
  4. Alex
    Alex avatar
    21 posts
    Member since:
    Apr 2012

    Posted 24 Sep 2012 Link to this post

    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?
  5. Answer
    Deyan
    Admin
    Deyan avatar
    2037 posts

    Posted 25 Sep 2012 Link to this post

    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.

  6. Alex
    Alex avatar
    21 posts
    Member since:
    Apr 2012

    Posted 30 Dec 2012 Link to this post

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

    Posted 03 Jan 2013 Link to this post

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