Click here to Skip to main content
12,758,341 members (34,620 online)
Rate this:
Please Sign up or sign in to vote.
Hello Fellows,

i am working on a page , which has a Two Div's .


<div id="div1"> Move items from here to div2  

  <asp:DropDownList ID="DDEducationInfo" runat="server" Width="220px">
  <asp:ListItem Selected="True">Select educaiton info ...</asp:ListItem>
  <asp:ListItem>Provisional Certificate</asp:ListItem>
  <asp:ListItem> Permanent</asp:ListItem>
 <asp:ImageButton ID="IBCertificaiton" runat="server" ImageUrl="Images/ui/add.png"  />
 <hr />
 <p style="text-align: center;"> OR </p>
 <hr />

<div id="div2"> get items from div1</div>


1) I need to be able to select an item from Drop list on "DIV1" , and when i click Button "ADD" on "DIV1" , it should add selected item to "Div2" (like copy and paste)

2) Second question is more tricky ... I am working with OR Operator , such as on my DIV2 between selected item i want to add Or operator . like this


3) I want my OR to be drag-able from DIV1 to DIV2 on any place.

4) Most tricky part : when i add OR operator between Item1 OR Item2 , it should act like that which mean i can have Item1 Or i can have Item2 . Plus i need to know from code behind what two or more items has OR in between .

Thanks in advance guys. If you need more clarification let me know .
Posted 28-Nov-12 6:46am
Updated 29-Nov-12 4:47am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This CP article did what you just asked for.

Drag and Drop with Persistence using JQuery[^]
anjumnavid 5-Dec-12 9:24am
Thanks for the article but my project is different than what article explain.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 29 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100