Click here to Skip to main content
15,885,910 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
SQL
i want to make a asp.net page in which you have few controls. you can drag and drop controls to the div and also set the position in the div and save the div in database and recall it whenever you want. i need to know how this will work? how to save the position of controls.. etc ![enter image description here][1]


http://i.stack.imgur.com/nE0aT.jpg

something like i have showed in image
Posted

You have 2 solution.The first is to use "JQuery" + "Jquery UI (Drag & Drop Features)" in your webpage.This solution is the user friendly one but it is a little complicated for developers that don't have enough information about JQuery, also you have to handle saving last UI changes in DB yourself.You can collect information about JQuery UI in the following links:

http://jqueryui.com

The second solution is the easiest one by using Microsoft asp.net Web Parts controls in conjunction with asp.net membership management.It can save UI state of any user automatically and you don't need to write any code for that.For more information visit this tutorial in MSDN:

http://msdn.microsoft.com/en-us/library/e0s9t4ck.aspx[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900