/    Sign up×
Community /Pin to ProfileBookmark

How to: Drag and Drop controls in ASP.NET 2.0

Hi,

I need a java script code to drag and drop controls, in ASP.NET 2.0, from one panel to the other. This is the same scenario in designing a web page using Microsoft Visual Studio, you can drag and drop controls from toolbox to the web page and even, position the controls according to their alignment.

Please help me ?

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@nshiellSep 14.2007 — Is this a question relating to JavaScript for webpages?
Copy linkTweet thisAlerts:
@hoangkcSep 14.2007 — you should take a look at openrico.org, it's open js library which support drag and drop feature.

Then, are you looking for a code to do something like this? (Try drag and drop from left panel to dropzone, and drag and drop somes module)
Copy linkTweet thisAlerts:
@gianthornetauthorSep 14.2007 — hi hoangkc, thanks for your reply.

the link you gave, it uses webparts, and its complicated that is uses SQL database. I just need a code to drag and drop controls, not a group of controls. webparts doesn't meet my requirements.
Copy linkTweet thisAlerts:
@gianthornetauthorSep 14.2007 — yes nshiel, please help me..
Copy linkTweet thisAlerts:
@hoangkcSep 15.2007 — Hi gianthornet, I'm project manager of that project, all you see is done by javascript, not webpart, and not SQL. In fact, that is my experiment how to simulate webpart.

If you just need a code to drag and drop controls, I think this link is good http://www.quirksmode.org/js/dragdrop.html
×

Success!

Help @gianthornet spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...