Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All,

I am trying to create a web page with drag and drop functionality in ASP.Net. This dynamic page should meet following requirements.

1. The Web forms should be designed at runtime by the website user using asp.net server controls like Labels, Text Box, Button, Drop down etc.

2. This template information should be saved say in the form as XML for future usage.

3. This saved template should be available to all the users/roles of the website.

4. The controls should support resizing, positioning, drag and drop functionality in the web form at runtime.

5. After the creation of the template the entered data in the asp.net controls should be saved and used for some business processing.

6. The webform should have rich end user experience.

7. I cannot use Silverlight.

Please suggest the ways to meet the above, with good performance.

Thanks,
Srinivas Akella
Posted
Updated 20-May-10 2:48am
v2

Why is it that I know you asked this before, but there are no other questions associated with this account.

If you can't use silverlight, then you're going to have to write a ton of javascript, and you're going to really struggle with performance. Running the forms should be OK, although I suspect you'll struggle with viewstate on dynamically created controls, but the designer is likely to really suck, performance wise. My IE freezes when even the most simple JS is running.

Why do you 'need' to do this ? What experience do you have in javascript ? What bout ASP.NET ?
 
Share this answer
 
Thanks.

This is my project requirement.
I do not have experience in Java Script but I am good at ASP.Net.

Why I cannot use Silverlight is my web application should run on Linux Environment also.

I am ready to learn JS but I cannot compromise on performance. Can we achive this using ASP.Net Web Parts?

Please tell me the process.
 
Share this answer
 
Dude - you are screwed. Tell your client that they are not going to get this, not from you. The only way to achieve this, is through javascript, and I don't believe that any AJAX or other library is going to have the parts you need, so you're REALLY going to have know your stuff, and even then, I'm not really sure that it's especially possible to do it in a way that is going to work well across all browsers on all platforms. There is zero chance that someone could 'learn javascript' while writing this, IMO.
 
Share this answer
 
Not sure if you are still doing/looking into this (if not this may help others), you could look at some 3rd party scripts to help you out... check out script.aculo.us.
http://script.aculo.us/[^] has some drag and drop functions in there that are easy to use.
 
Share this answer
 
Hi
Most of this is possible. I have done it using javascript and vb.net.

Sigurd Johansen
 
Share this answer
 
Comments
withlovkaran 4-May-12 1:09am    
Through classic ASP with VB script this can be easily achieved, but with the ASP.NET server side its hell of an effort
Christian Graus' answer is correct.
 
Share this answer
 
check www.berthou.com where you can see jquery plugin..
 
Share this answer
 
v2
Comments
[no name] 16-Apr-14 8:25am    
Do you really think that he is still waiting after 4 and a half years?

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