Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I m using a list box and a text box with MultiLine.

Now I want to allow user to drag an item from list box to text box.

I have search Google and try to implement but not able to find appropriate solution.

Any kind of sample code, Link, or explication r welcome.

comment if u want more explanation or clarification from me.

Thanks In advance
Posted
Comments
ZurdoDev 6-Mar-12 8:02am    
jQueryUI has drag and drop ability. Have you tried that?
Mohd Imran Saifi 6-Mar-12 8:34am    
have u enable the Drop property of textBox

1 solution

Hi,
I think this is what you are looking for:
http://jqueryui.com/demos/draggable/#snap-to[^]

but i suggest you also look @ this:

http://jqueryui.com/demos/sortable/[^]


choose the type on the right for what best suits your problem.

-Jeremy
 
Share this answer
 
Comments
CRDave1988 7-Mar-12 1:04am    
Thanks........
[no name] 7-Mar-12 9:15am    
np

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