Solved

GridView: Drag and Drop

Posted on 2011-03-16
1
472 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
1 Comment
 

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to Get total minutes between two hours 4 44
C# Connection String for Oracle database is not working 22 89
C# Single Form 8 26
C#.NET and microsoft certification. 3 30
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

919 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

18 Experts available now in Live!

Get 1:1 Help Now