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

Swap TileViewItem

5 Answers 72 Views
TileView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Balsuyambu
Top achievements
Rank 1
Balsuyambu asked on 22 Mar 2012, 11:00 AM
Hi 

Please let us know whether is it possible to swap radtileviewitems inside telerik tileview control. we are using Q3 2011(2011.3.1220.1040) version

Thanks
Balsuyambu S.

5 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 23 Mar 2012, 03:48 PM
Hello,
Could you please explain how exactly do you want to swap the RadTileViewItems - do you want to swap two items in code behind or you want to swap the items on dragging? I've attached a sample project which show some of the ways to swap items so you could examine it and see if this is what you're looking for.
If you need further assistance please feel free to ask.

Kind regards,
Zarko
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Balsuyambu
Top achievements
Rank 1
answered on 26 Mar 2012, 07:24 AM
Hi

We want to swap the radtileview items through drag and drop. Suppose if we drag the item which is positioned in 4 to postion 1 then item 4 moved to 1 the position and item 1 moved to 4.

We are using Silverlight 4. but your test page has silverlight 5.

Please share the test page which is in silverlight 4.

thanks
Balsuyambu

0
Tina Stancheva
Telerik team
answered on 26 Mar 2012, 09:28 AM
Hi Balsuyambu,

I attached a modified version of the sample solution targeting Silverlight 4. Basically in order to implement your scenario you need to set the RadTileView DragMode property to Swap. Give this a  try and let me know if it helps.

All the best,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Balsuyambu
Top achievements
Rank 1
answered on 27 Mar 2012, 06:38 AM
Hi Tina,

It is working fine after setting RadTileView DragMode property to Swap.

Thanks for your suggestion.

Is it possible to swap the items in minimized state?

Thanks
Balsuyambu S.
0
Zarko
Telerik team
answered on 27 Mar 2012, 02:20 PM
Hello,
Unfortunately at the moment there's no straightforward way to swap the items in minimized state by dragging (you can swap them on button click, but I guess this is not what you're looking for ?). If you want to create such functionality you'll have to play around with the DragDropManager and add some code behind.
I've created and attached a sample project which shows how you can do this so could you please examine it and see if this is what you're looking for?
If you have more questions feel free to ask.

Regards,
Zarko
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
TileView
Asked by
Balsuyambu
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Balsuyambu
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or