Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7939465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:06:29+00:00 2026-06-03T23:06:29+00:00

My goal is to transfert data from a list to another. I was able

  • 0

My goal is to transfert data from a list to another. I was able to populates them, and now trying to do the rest. I want to add 2 buttons between the lists so I can send the data from both sides. I need help to code the button, and how to code the controller so I can collect the selected items in the lists (to remove and/or delete).

Here my model :

namespace OnlineTR.WebUI.Areas.Admin.Models
{
public class TestCategoryModel
{

   public IEnumerable<TestCase> TestCasesAvailable { get; set; }
   public IEnumerable<TestCase> TestCasesCurrent { get; set; }

}

}

View :

@model Models.TestCategoryModel           

@Html.ListBoxFor(model => model.TestCasesAvailable, new SelectList(Model.TestCasesAvailable,"TestCaseId", "TestCaseName"))          

@Html.ListBoxFor(model => model.TestCasesCurrent, new SelectList(Model.TestCasesCurrent, "TestCaseId", "TestCaseName"))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:06:30+00:00Added an answer on June 3, 2026 at 11:06 pm

    Here is an example post…you may try this…it is similar to your problem…

    http://www.codeproject.com/Articles/136730/ASP-NET-MVC-2-Basics-Working-with-ListBoxes

    Although it is done in MVC 2…that dynamics/approach will still remain the same in MVC 3…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Goal: Retrieve data aaa from the first td in tr by pressing the link
Goal: Show data from server in wxPython GUI on client Newcomer to Twisted. I
Goal: Display a custom location list on google maps based on the location of
GOAL: I'm making a UDP socket to send and receive data. I am testing
Goal Java client for Yahoo's HotJobs Resumé Search REST API . Background I'm used
goal: I have the string 1234432144 I want to only replace the first 2
I have been trying for about an hour now to find an elegant solution
I'm kinda stuck here... My goal is quite simple: I want to expose an
I'm designing a system which is receiving data from a number of partners in
Goal: Combine two column named first and lastname, from the same table A and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.