How to lockdown a Tilelist

6 posts, 0 answers
  1. Jan
    Jan avatar
    10 posts
    Member since:
    Sep 2011

    Posted 08 Oct 2014 Link to this post

    Back at playing around with Tilelists; I can see that some missed options have been added since last eg. CanUserSelect

    I am looking at locking down the tiles so that they cannot be moved/dragged.
    - in xaml there is a AllowDrop on both Tile and TileList... no effect
    - also tried
    RadDragAndDropManager.SetAllowDrag(myTileList, false);
    RadDragAndDropManager.SetAllowDrop(myTileList, false);

    am I missing something obvious?
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 09 Oct 2014 Link to this post

    Hi Jan,

    You can just set TileReorderMode to None on the TileList. 

    Regards,
    Nik
    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.

     
  3. DevCraft banner
  4. Jan
    Jan avatar
    10 posts
    Member since:
    Sep 2011

    Posted 09 Oct 2014 in reply to Nick Link to this post

    Hmm almost does it; still able to move the tiles down a good bit
  5. Nick
    Admin
    Nick avatar
    593 posts

    Posted 10 Oct 2014 Link to this post

    Hi Jan,

    It sounds like you are using touch to drag the tiles, am I correct. It should be the only case where the tile need to be dragged a bit up or down in order to initiate the drag. Is that correct? If that is the case, there isn't much you can do at the moment, since disabling that behavior will also disable the Touch Scrolling functionality. Nevertheless, we are currently working on a more friendly Touch API that will enable the more precise manipulation of the behavior. 

    Hope this makes sense. 

    Regards,
    Nik
    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.

     
  6. Jan
    Jan avatar
    10 posts
    Member since:
    Sep 2011

    Posted 16 Oct 2014 in reply to Nick Link to this post

    Yes it is for a touchscreen application.
  7. Nick
    Admin
    Nick avatar
    593 posts

    Posted 17 Oct 2014 Link to this post

    Hello Jan,

    The touch down drag is still present even though the DragDrop functionality is disabled. Note however that this will not start an actual drag and will not initiate a tile reorder operation. 

    Regards,
    Nik
    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.

     
Back to Top
DevCraft banner