SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2011
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Best sorting option to provide to users.

    Need to provide users options to customize the web site & in this process let them sort either their content or uploaded documents or images etc according to their preference.

    Just to get started, I've set up their content in a Data grid & provided a numeric text box across to enter their sort order.

    Do any one think there could be a better way to get this done.
    I think Ive seen some social websites (don't remember which ones) that let users drag & drop contents in preference of the sort order. I'm not sure how this can be done using asp.net

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,880
    Mentioned
    48 Post(s)
    Tagged
    0 Thread(s)
    It is done with javascript jquery. You can search for jquery drag and drop. There are tons of options and examples. When the item is dropped, it fires a post to another aspx page to save the order.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2011
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks , JQuery almost works here. Calling a Webmethod through .ajax of the jquery to save.
    I now only need to figure out the item & the position its being moved to.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •