Click here to Skip to main content
13,402,659 members (41,170 online)
Rate this:
Please Sign up or sign in to vote.
How can i enable my tiles(Windows 8 Apps ) to enable drag and drop. I want my tiles can be dragged and dropped within a gridview. Is there a way I can enable it. I found a post ([^]) with a demo prog, but it is not working. I am working in javascript and html5. Does WinJS allow us to do such thing
Posted 18-Jan-13 22:47pm
Updated 18-Feb-13 6:11am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


Here is how this is done in XAML and C#:[^]

The key three properties to achieve the effect are these:




The same properties should be available from JavaScript.


// Frank La Vigne / US Public Sector Developer Evangelist
// 30 To Launch Sign up at
// @tableteer /
anchitgautam 1-Feb-13 0:53am
Hi Frank

These properties are not available in JavaScript and HTML 5. Even when working using C# and setting these properties to true , it doesn't enable me to drop and rearrange though it allows a tile to drag while working on a grid template.

More suggestions would be appreciated.


Rate this: bad
Please Sign up or sign in to vote.

Solution 3

I am the writer of the link you are mentioning. I have tested again the demo program (downloaded it and run it) and it executes correctly. What is the issue?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180218.2 | Last Updated 4 Mar 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100