ASP.NET drag and drop between 2 listboxes - asp.net

I have two listboxes on my webpage each containing values of a database.
I want to drag one item from listbox1 to listbox2, and then the program should save the new values of listbox2 in the database.
I have no idea how to do that... any help is welcome!
How should I start? I'd like to do it using jQuery...
maybe with using the jQuery UI Droppable plugin?
Has anybody a decent tutorial is how to do this?
Thanks in advance!

You could use Telerik's controls for ASP.NET MVC.
They have a treeview control with built-in support for drag and drop. If you want a flat list, don't introduce any children for the treeview. A demo can be found here:
http://demos.telerik.com/aspnet-mvc/treeview/draganddrop
They use jQuery behind the scenes.
If you want to create it yourself, please check out the following video by Chris Pels:
http://msdn.microsoft.com/en-us/scriptjunkie/ff698290
He explains how to build drag & drop functionality using the jQuery and jQueryUI libraries. This should get you started.

Related

asp.net formview inside gridview row

I need a gridview such that when I click on a row to edit it, the data shows in a formview within that row. The user can then make updates within the formview. I am not able to find a suitable example that can do something like this. Can somebody please point me to an appropriate example that does this.
Note that I am using ASP.NET.
Thank you.
Here is an example from Kendo , You can download and use their tools for free with limited support.
Kendo Inline Editing Grid for ASP.Net

Is a datagrid/gridview possible in SharePoint

I'm not asking as to how go about doing this, but just curious if its possible to list items in a data grid/ grid view as you would in asp.net websites, but in SharePoint using say web parts? Then be able to select a item in the grid and press a button that would then carry on out some task? Just need to find out if its possible.
Thanks
Yes it is. You can do it with the standard GridView, but I've also done it with DevExpress ASPxGridView.

asp.net datagrid

I want a asp.net datagrid with client side selection and dockable in pages and custom rightclick support.
cau anyone help me?
You will need to add javascript in case to make the table interactive with user actions
i prefer to use jQuery plugins to able you to do that. just create css classes and assign them in the datagrid columns then use jQuery to add the right click support and dockable rows.
If you have the budget Telerik RadGrid can do what you want and more. (You will also need RadDock for docking - they all are part of RadControls.)

Threaded RadioButtonList

What is the best way to build a dynamic Threaded ASP.net radio button list? I am not that familiar with RadioButtonLists and it is my understanding that ASP.net doesn't like the application of individual styling of ListItems.
Well, why not use the RadioButtonList control, with a ReapeatDirection="Horizontal"?
Threaded like hierarchical and in a tabbed format? You are going to have to build a custom control if you are looking for this kind of functionality; it isn't available really easily out of the box. The list controls aren't the greatest for extending out of the box unfortunately.

Draggable Columns in ASP.NET GridView

Is there any open source that extends ASP.NET GridView, which allows Column order to be changed after it's rendered, raises a server side event when a Column is Dragged & Dopped ? I should be able to do this myself. I am wondering If there's any already.
Also, am just curious How long would it take for you to get this feature implemented.Just to know where I stand.
The GridView in .NET 3.0+ supports this feature, are you tied to an earlier release?
Component Art's grid has this functionality, but it s not open source
try jquery based flexigrid

Resources