Solved

GridView: Drag and Drop

Posted on 2011-03-16
1
474 Views
Last Modified: 2012-05-11
Hi,

Using VS 2008/C#/odp.net

In a modal Popup I have the following defined.

I have a GridViewLeft and GridViewRight. It has columns CheckBoxLeft/CheckBoxRight and column desc both for same.
The datakey name is ID. I also have a search text box to search for an item in GridViewLeft.( No functionality not yet added.
My idea was either filter the gridview or rebind the gridview with the new search string)

The GridViewLeft is populated using a objectdatasource. (Depending on a value selected by the user in the page
the data might come from one of the 2 tables or a combination of both.)

Now I need to either drag and drop rows from left to right gridview or add a button to move checked rows from
left to right. Just confused how to obtain the datatable from the object datasource and using datatable methods
live add & remove to move rows.

Finally clicking OK I would like return the selected ID's.

Looking for an easy solution either using objectdatasource or just by assigning datatables as datasource obtained during runtime
using a business class.

Tried using a business class & populating the gridview. But for some reason the paging is giving error.Cloned the right grid to
the left.Also had some issues getting the column values. Not sure if the check box defined in the left gridview will be cloned
automatically unchecked with desc value populated from left grid.

Any input is appreciated

SUresh
0
Comment
Question by:arvee2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
arvee2003 earned 0 total points
ID: 35179692
THanks for the service. No response for 5 days
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

735 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