Solved

I need Duel Pick List controls for web application

Posted on 2013-02-05
6
317 Views
Last Modified: 2013-02-19
Hi everyone,
 
I have attached some web user controls that are being used on several aspx pages.  The application is working fine, but we need to speed up the Movement.ascx user control page by re-writing it to use a duel pick list control with two columns along with a list control.

Currently the Movement.ascx page is allowing data to be selected, dragged and Dropped to Inmate Group Box1, Inmate Group Box 2, and Holding Bin based on selections made with the drop down boxes above each of the boxes.  Let me explain what we are doing with this.

The user will select a hyperlink, "Move an Inmate". After selecting, "Move an Inmate", a stored procedure is executed which pulls all inmates awaiting movement which shows in inmate Group box 1 and 2.  These inmates are currently dragged and dropped to Box 1 and Box 2 and in a holding bin which holds lnmates awaiting a bed based on their danger security level.

A selection is made by the user with a drop down above each box.  The user is selecting a group of beds which are available and  to place inmates in. On Box 1, the Inmate Group Box 1, the user selects all available beds on the drop down which executes a stored procedure which looks at the database and determines which beds are available.  Blank slots will appear  A selection can be made for available beds on Inmate Group Box 2 as as well which will allow dragging and dropping an inmate in the slots on Box 1 or Box 2or in the holding bin.

We want to do away with the drag and drop feature and use an event button to move the inmates to box 2 from box1 or from the holding bin to either box.  Please review  and see my User Conrols attached.

My movement.ascx user control page attached.  I need to re-write this page having a button in between the two boxes which will move the selected inmate after a selection is  made for the inmate with the mouse.  I need the Html coding and java script to achieve this objective.
Movement.ascx.doc
Movement.ascs.vb.doc
Confirmation.ascx.doc
Confirmation.ascx.vb.doc
InmateGroupSelector.ascx.doc
InmateGroupSelector.ascx.vb.doc
InmateGoup.ascx.doc
InmateGroup.ascx.vb.doc
HoldingBin.ascx.doc
HoldingBin.ascx.vb.doc
Tools.ascx.doc
Tools.ascx.vb.doc
0
Comment
Question by:jjc9809
  • 3
  • 2
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38865630
There is a open source control that you can use

http://picklist.codeplex.com/
0
 

Author Comment

by:jjc9809
ID: 38865851
Yes, Code Cruiser I pulled up this one last week.  I have been looking at it.
I just do not know if I can keep the same functionality that we have if we use this example.

What We have are Inmate records with a ID#, Name, Image Picture
                                                                            Bed#, Institution, Security Level ID
                                                                            Incarseration Date,  Race, Gender

All inmates will appear with these three rows for each record which are in a tabular format.
Currently, we can click on the three rowed record and move and Drag around.  We want to get away from this by just clciking on it and selecting a ADD Event Button with arrow to do the
insertion for beds pulled that are available to move them in.

Maybe a List Control would work better or a GridView with each row and have a select which can be clicked which moves them.  I do not know if images can be stored in a gridview.  Can they?

ANy ideas are helpful.  

jjc9809
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38865987
Yes images can be displayed in gridview. You can also use a DataList. That control can give you an idea of how to implement it yourself.
0
 

Author Comment

by:jjc9809
ID: 38866504
CodeCruiser,

Can an image be used in the PickList control?  If not, the DataList appears to have what I might have to  use.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38867811
>Can an image be used in the PickList control?

You mean that control I linked? I am not sure but I think not.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now