Hi is it possible to have a drag and drop reorder on a gridview? The purpose is to reorder the items.
Thanks
Andy
View Complete Post
Hi I want to sort a gridview on my asp.net page using drag and drop functionality. I want that on dropping a row the new sort order is stored in the database. Following is the code..the client ID always returns null
<asp:GridView ID="dg_Link" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="LinkID" OnDataBound="dg_Link_DataBound" OnPageIndexChanging="dg_Link_PageIndexChanging" OnRowCommand="dg_Link_RowCommand" Width="100%" ForeColor="#333333" GridLines="None" OnRowCreated="dg_Link_RowCreated" EnableModelValidation="True" OnSelectedIndexChanged="dg_Link_SelectedIndexChanged" OnRowDataBound="dg_Link_RowDataBound"> <Columns> <asp:TemplateField HeaderStyle-Width="5%" HeaderText="" ItemStyle-CssClass="PhotoGridItemText"ItemStyle-Width="5%"> <HeaderTemplate> <asp:CheckBox runat="server" ID="chkHeader" /> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="chkSelect" runat="server" EnableViewState="true" /> </ItemTemplate> </asp:TemplateField> <asp:Templat
Jeff Prosise shows how you can implement drag-and-drop functionality in your Web app with ASP.NET AJAX.
Jeff Prosise
MSDN Magazine January 2008
Paul DiLascia
MSDN Magazine October 2004
Web Forms have the potential to change Web programming by introducing a new programming model built around server-side controls-a model in which controls render their own UIs by generating HTML to return to clients and firing events that are handled by server-side scripts. Since all the action takes place on the Web server, virtually any browser can run a Web Forms app. And thanks to Visual Studio .NET, building a Web Forms app is a lot like using Visual Basic: just drop a control onto a form then write an event handler. This article describes the Web Forms programming model, how it fits with ASP.NET, and introduces DataGrid, TextBox, and other classes in the .NET Framework class library.
MSDN Magazine May 2001
Building on the browser-based org chart featuring VML (Vector Markup Language) described previously in Microsoft Internet Developer, this article takes you through the process of refining that sample app by using XML, XSL, and JScript code to create a new, improved version. Drag and drop editing is added to the org chart interface thanks to built-in support found in Internet Explorer 5.0. XML and JScript allow data manipulated on the screen to be saved back to the server in its native format. The final product of this combination of XML, XSL, and VML is a high performance, scalable Internet app that uses processing on the client to reduce stress for the server.
Scott Howlett and Jeff Dunmall
MSDN Magazine March 2000
Hello all
How to make asp.net treeview drag and drop enabled on web. I am unable to find any javascript and there is not any event to make treeview drag and drop enabled.
Kindly suggest me how to use drag and drop facility in treeview.
I don't want to use any third party utility.
waiting for reply..........
Thanks in advance
Hey everyone, I have a treeview and a listview on my ASP.NET application. However, with treeview I can drag and drop it to where ever I want it on my page. I tried this with listview, but it wouldn't let me. Listview automatically positions itself along the left side of my application. What I'm wanting to do is put my treeview along the right side and then put my treeview along the left side of the application. Any ideas on why I can't do this or suggestions on how I might be able to do this?
By the way, I'm running Visual Studio 2010 and using .NET FRAMEWORK 4.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend