Swap TileViewItem

6 posts, 0 answers
  1. Balsuyambu
    Balsuyambu avatar
    37 posts
    Member since:
    Sep 2010

    Posted 22 Mar 2012 Link to this post

    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.
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 23 Mar 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Balsuyambu
    Balsuyambu avatar
    37 posts
    Member since:
    Sep 2010

    Posted 26 Mar 2012 Link to this post

    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

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Mar 2012 Link to this post

    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 >>
  6. Balsuyambu
    Balsuyambu avatar
    37 posts
    Member since:
    Sep 2010

    Posted 27 Mar 2012 Link to this post

    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.
  7. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 27 Mar 2012 Link to this post

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