Drag and Drop Storage


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Drag and Drop Storage

  1. #1
    Join Date
    Nov 2004
    Posts
    142

    Unhappy Drag and Drop Storage

    HI,

    Can anyone tell me that if I create a drag and drop on a form, say, a list that can be rearranged, or whatever, if the arrangement of the drag and drop is stored in a single field or multiple fields in a database ?

    I think each form object needs a field and the position coordinates are stored in the database field. But, heck, I could be way way way off.

    Any of you pros know how it works in a simple overview of it?

    I can get the drag and drop part down, but, storing the positions and later on bringing them back up in the rearranged state is a bugger...

    Thanks
    Shickey


  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    You can store it however you wish. One way is to use separate columns for each field property (name, type, top, left, height, width, tabindex, etc.) Another is to store an XML file in a single column and parse it to extract the desired info.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center