Drag and Drop Storage
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...
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.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL