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

Reorder items invoke from applicationbar

6 Answers 34 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.
dev
Top achievements
Rank 1
dev asked on 21 May 2014, 07:41 AM
hello,
in my view i have a DataBoundListBox and a ContextMenu (for edit and delete item).
it is possibile invoke Reorder item from a button in applicationbar?

6 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 23 May 2014, 10:23 AM

Hello Ivan,

Yes, it is possible.

Check out the online documentation regarding this topic here:

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

Take a look at the Activaging Reorder Mode programmatically topic.

Regards,

Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
dev
Top achievements
Rank 1
answered on 23 May 2014, 02:24 PM
ok thanks. Exists a event which is called when "Reorder" is complete?
I have in my ItemsSource a column position ad i update into Db new value.

ItemReorderUpButtonTap
ItemReorderDownButtonTap

not returning a new position and old position

thank you
0
Deyan
Telerik team
answered on 26 May 2014, 07:43 AM
Hi Ivan,

Thanks for writing back.

There's an event which is fired when the reordering state is closed, i.e. when the reorder buttons are hidden and the visual state of the items is restored to normal.

This event is called ​ItemReorderStateChanged.

I hope this is helpful.

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
dev
Top achievements
Rank 1
answered on 26 May 2014, 08:51 AM
hello Deyan,
thank you for response. In a particular case i receive this error

[System.InvalidOperationException] = {System.InvalidOperationException: Cannot resolve TargetName RootScale.
   at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions, Boolean& refreshInheritanceContext)
   at System.Windows.VisualS...

why?
thanks
0
dev
Top achievements
Rank 1
answered on 26 May 2014, 09:01 AM
Excuse me, i don't have event ItemReorderStateChanged

my version is 2014.1.514.0 (windows phone 8, vs 2012)
0
Deyan
Telerik team
answered on 26 May 2014, 02:51 PM
Hi Ivan,

Thanks for writing back.

You should be able to access this event. It has been added prior to Q1 2014.

As for the exception you are experiencing: this exception might occur if you are also enabling the Tilt Effect on the ListBox' items. The Tilt effect is not compatible alongside the Reorder functionality.

Let us know if you have additional questions.

Regards,
Deyan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DataBoundListBox
Asked by
dev
Top achievements
Rank 1
Answers by
Deyan
Telerik team
dev
Top achievements
Rank 1
Share this question
or