Drag And Drop Row in DataView

P

Peter

Does any one have an example or suggestion on how to Drag & Drop a Row in a
DataView (without paging)?
I want to be able to reorder rows by dragging them to desired position.

Thank You


Peter
 
A

Allen Chen [MSFT]

Hi Peter,

DataView is not a UI so I don't think it can be dragged. If you mean drag
and drop rows of GridView you can refer to the following article:

http://www.codeproject.com/KB/webforms/DragAndDropGridView.aspx

Another option is to use ReorderList in the ASP.NET AJAX Toolkit. It has
drag&drop support:

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ReorderList/ReorderList.a
spx
http://www.asp.net/ajax/ajaxcontroltoolkit/

Please have a try and let me know if it's what you need. If none of the
above information helps please clarify your requirement.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter

Thanks for the info!

Looks like it's more involved than I though, I guess I will have to research
to see if there are any GridView grids that support drag & drop and don't
cost a lot.
the http://www.codeproject.com/KB/webforms/DragAndDropGridView.aspx does
not work correctly and does not work at all on FireFox
the
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ReorderList/ReorderList.aspx
does not work because I need columns


http://www.codeproject.com/KB/webforms/DragAndDropGridView.aspx does not
work very
 
A

Allen Chen [MSFT]

Hi Peter,

Glad to know you've found the solution on your own and thanks for sharing
it with us.

Regards,
Allen Chen
Microsoft Online Community Support
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,059
Latest member
cryptoseoagencies

Latest Threads

Top