Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GridView: Drag and Drop

Posted on 2011-03-16
1
Medium Priority
?
493 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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