C# Corner

Resources  
  • Drag and Drop RevisitedMar 13, 2001. I've had a couple inquiries on how to do drag and drop in .NET again, so I've put together a simple app for dragging text from a TreeView to a TreeView and a TreeView to a ListBox.
  • Drag and Drop Using C#Mar 30, 2001. Drag and Drop in C# has been a question on the UseNet and many websites on C# so I have decided to tackle the problem here. This is an update of the directory tree component download on this web site.
  • Text to HTML ParserApr 05, 2001. If you have been into developing Web Applications then you might have at many times experienced that when you display multiple lines of data from a database you loose the spacing or formatting between multiple lines of data.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Ouch! There is a Hook in My C#May 15, 2001. As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
  • Graphics Animator in C#May 26, 2001. This program will generate a html page with animated gif. You just need at least 2 gifs and use the program to set the time to display each image.
  • Mobile Device CapabilitiesAug 01, 2001. This article explains about mobile devices and their capabilities.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Developing Mobile Web Application with .NETOct 17, 2001. This article presents a general idea of the WAP (Wireless Application Protocol) and developing mobile Web application with .NET.
  • Creating a User Control: .NET Toggle ControlNov 16, 2001. This is a C# User Control which re-creates the toggle used by XML, HTML, etc. files in the .NET Developer Studio. Just compile the control and drag it onto a form from the Windows Form Toolbox.
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • Deevloping a Banking System using VS.NET and Windows FormsDec 26, 2001. This article also focuses on deploying multiple windows forms and shows how to navigate between them.
  • Web Enabled C# ApplicationJan 02, 2002. C# is a sharp-edged weapon for Microsoft Visual Studio Programmers. My article beneath presents a brief eye-catching vivid view of programming internet web-browser using C#(C Sharp), and solves today's need with tomorrow's software!
  • Drag and Drop for Board GamesJan 22, 2002. This application shows how the drag and drop features in C# could be used to create a simple board game or whatever.
  • Reflecting Data to .NET Classes: Part I - From HTML FormsMar 06, 2002. Reflection allows us to examine internal details of assemblies and classes at runtime (programmatically).
  • ASP.NET Naughts and CrossesMar 22, 2002. This article demonstrates the basic techniques used to build "ASP.net Noughts & Crosses" (tic tac toe to our American friends).
  • Space Remover UtilityMar 25, 2002. In this article, I want to show you how you can remove white spaces in a web page.
  • Performance Comparison of XslTransform InputsMay 02, 2002. To transform XML into HTML for use on a Web site or to transform it into a document that contains only the fields required you could use the XSLTransform class (found in the System.Xml.Xsl namespace).
  • Performance Comparison of XslTransform InputsMay 02, 2002. To transform XML into HTML for use on a Web site or to transform it into a document that contains only the fields required you could use the XSLTransform class (found in the System.Xml.Xsl namespace).
  • Mastermind Game with Drag and Drop FunctionalityMay 15, 2002. There as nice article some time ago on this site for creating mastermind game by Mike Gold. I am rewriting complete game from scratch to implement Drag and Drop feature and presentable User interface.
  • Imlememnting Drag and Drop in ListView ControlsJul 08, 2002. Drag and Drop operations in Windows can be achieved using 3 simple events - DragEnter, DragLeave, and DragDrop.
  • A Virtual Photo Album in C# and .NETAug 05, 2002. This album allows you to drag your images directly from Windows Explorer into the spot you want your picture to occupy. You can also edit the captions by clicking on the labels under the pictures.
  • Macro to Add Strong Names to VS.NET ProjectsAug 06, 2002. When writing class libraries in Visual Studio .NET that are going to be placed into the GAC you will need to add strong name to the assembly. This is normally done by dropping out to a dos prompt and running the .NET utility sn.exe and then updating the assembly to reference the newly created .snk file.
  • DataGrid Customiztion Part-III:Implementing Search Feature in a DataBound GridAug 21, 2002. In this article, I will show you how to exchange two DataGrid columns by dragging and dropping.
  • DataGrid Customization Part-IV:Exchanging a DataGrid Columns using Drag and DropAug 21, 2002. This article covers customized sorting and a DataGrid column hiding programmatically.
  • XML News Feeds from Harrison LogicSep 04, 2002. This application provides a compilation of news headlines from many sources, using the MoreOver.com's XML service.
  • Accessing Text Files using ODBC Data ProviderNov 12, 2002. In this article, I will show you how to access Access database files using ODBC data provider.
  • Drag and Drop using C#Nov 13, 2002. To allow your program to accept files using the drag and drop, you must first pick a control that you wish to be able to accept them.
  • MDI Image Viewer with Drag-Drop SuppportNov 21, 2002. MDI Image Viewer with Drag-Drop Support by Sergio Pinon. Nov 21, 2002. The attached source code project is an MDI Image Viewer that not only let you view multiple images simultaneously, it also supports drag and drop feature. To view one or multiple files, just drag some images from the Windows Explorer and drop on this program.
  • Daleks in .NETDec 11, 2002. The other night my girlfriend dragged me down to the NYC Public Library claiming that they had a huge Science Fiction movie section. Admittedly my taste in movies and my wife's taste in movies can vary slightly, however, I was willing to take a chance, given that rentals at the library are free as opposed to $4 at the local video store.
  • GalleryDotNetJan 02, 2003. This is a simple C# console application (source included) that takes a directory of images and creates a html gallery out of them.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Comparison between PDA/Pocket PC and Workstation FeatureApr 07, 2003. Pocket PC ships with a version of Internet Explorer, affectionately known as PIE (Pocket Internet Explorer).
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • DataGrid and Client Side EventsJun 17, 2003. This article shows you how to use DataGrid client side events including mouse over, on click and so on.
  • How to Change DataGrid Header Text?Jun 30, 2003. This article shows you how to change the header text of a DataGrid programmatically.
  • Drag and Drop Controls within a ContainerJul 08, 2003. The attached source code is a C# application that demonstrates the drag and drop of a Windows control within a container.
  • Building a Navigation System in ASP.NETJul 16, 2003. This article shows you how to display single record per page and navigate through single record using ASP.NET.
  • Handling Null Values in DataGridJul 17, 2003. This article shows you how to handle no data found or null values in an ASP.NET DataGrid control.
  • ColorFul Web DropDown List in ASP.NETJul 23, 2003. In this example we will build an ASP.NET User Control which provides a listing of colors with the list items displayed in the actual color that the list item represents.
  • Using Calendar Control in ASP.NETJul 29, 2003. In this article we'll see how to use Calendar control in ASP.NET.
  • Output ASP.NET Page to HTMLJul 29, 2003. There are various reasons why it would be more appreciative to have the html page to be served to client.
  • User Controls In Internet ExplorerAug 13, 2003. ASP programmers have long been using ActiveX controls as part of their client-side programming techniques, but now we are able to easily render Windows User Controls (almost Windows Forms, but not quite) into our HTML.
  • Modal Popup Dialog Window in ASP.NETSep 15, 2003. This sample show you how to create modal popup dialog window in ASP.NET that passes and returns multiple parameters.
  • Formatting Chemical Formulae in DataGridSep 25, 2003. In this article we'll see how to format chemical formulae in DataGrid Web Server Control.
  • Display Alphabetically Sorted Data in a Data GridDec 24, 2003. This code sample shows you how to display data sorted alphabetically based on the values in the database.
  • Image Resizing and FTPDec 24, 2003. I wanted a program to resize image and just FTP them to my site. After talking with friends, I realized they also had the same problems. So I built this simple .Net application.
  • Reading and Display Source of Web PagesDec 30, 2003. This sample project is made to help ASP.NET developers. This projects highlights how to add HTML page inside your ASP.NET page which is hosted on same or different webserver. This page can still run on that server and only output is included in the ASP.NET page.
  • HTML Client for Web Services using DHTML BehaviorMay 23, 2004. In this example we will access a Web Service created in C# from an HTML client.
  • WinGhost 2.0Nov 22, 2004. The winGhost 2.0 application allows you to show and hide applications running on your machine.
  • A Chess Program using C#Nov 29, 2004. This is a chess program, made using C#. It has used object oriented concepts and design patterns like Flyweight, Factory and Decorator. Two player can play this game and it has facility to drag-drop pieces. It also shows potential positions of each pieces which is useful for learning.
  • Writing HTML Content to the Screen in Word Document Format In a ServerFeb 10, 2005. This article explains a smple way to create a Microsft Word document representation of some HTML in a server.
  • IM Chat Interface for C# and .NETJun 26, 2005. This article describes a way to create a colorful chat interface for instant messaging. In this chat interface you can use html and emoticon tags to display colorful text and bitmaps in order to give you a richer chat experience.
  • Presenting Child Data along with Parent Row in Data GridNov 10, 2005. This article explains how we can bind the parent and child data to a Data Grid with minimum code effort using the Repeater control.
  • Smart HTML Editor in Visual Studio 2005Nov 16, 2005. If you have been writing Web applications using Visual Studio, at some point you would end up editing HTML file by hand. Now HTML Editor available in Visual Studio 2005 now supports Intellisense, which makes developers life much easier when editing HTML file by hand.
  • The GrouperJan 25, 2006. The Grouper is a special groupbox control that is rounded and fully customizable. The control can paint borders, drop shadows, gradient and solid backgrounds, custom text and custom icons.
  • Create Meta Tags Programmatically in ASP.NET 2.0Apr 07, 2006. In ASP.NET, we had an option to add head tags in HTML where we could define our Meta tags like keyword and description but in ASP.NET 2.0 if we use master page inheritated page then there is problem to add meta tags. This article explains how you can add meta tags in ASP.NET 2.0.
  • Troubleshooting Tips for ASP.Net DevelopersMay 22, 2006. This article explains three silly problems that ASP.net developers regularly face and explains how to tackle them.
  • Client-Side XML Data Islands Jun 17, 2006. This article demonstrates how to send xml data to the web client, filter records from xml at client side by using XPath expression and populate all products of selected category into product drop-down.
  • Flickerless Drag and Drop of Graphic Primitives Using .Net GDIAug 14, 2006. This article shows you how dragging and dropping graphic primitives smoothly onto the screen without flicker is easily achieved using .Net's GDI.
  • Flashing Stock Alert Application using C# and the Basic Stamp IISep 15, 2006. This article describes an application for reading stock quotes into an excel spread sheet and alerting the user when the stock quotes have exceeded or dropped below a certain price threshold. The project uses the SerialPort class to send commands to the Parallax Basic Stamp Microcontroller.
  • Atlas: Floating Server Elements in ASP.Net 2.0Sep 26, 2006. In this article, we will see how easily Atlas allows setting up a server element as a floating element, which the end users of the web page can drag to any location in the web page.
  • Changing XSL StyleSheets on the FLY in C# and ASP.NETSep 26, 2006. This article shows you how you can use alter XSL in memory to transform XML data into HTML with different results.
  • Flash Player Custom Control for ASP.NET 2.0Dec 05, 2006. This article describes a quick and simple approach to creating a custom web control used to display shockwave flash files within an ASP.NET page. Whilst the article and demonstration project are focused upon displaying a shockwave flash (SWF) file, the basic idea is applicable to any sort of object that you may wish to embed within an ASP.NET 2.0 page.
  • ASP.NET 2.0 Visio Custom ControlJan 15, 2007. This article describes a quick and simple approach to creating a custom web control used to display Microsoft Visio files within an ASP.NET page using Internet Explorer.
  • Embed PDFs into a Web Page with a Custom ControlJan 23, 2007. This article describes an approach to embedding and displaying PDF documents in a web page through the use of a simple ASP.NET 2.0 custom server control.
  • An Easy Way to Embed Word in a Web PageJan 24, 2007. This article describes an approach to displaying word documents within a web page using a simple custom server control.
  • ASP.NET HTML Postback Custom ControlMar 01, 2007. Web form controls do not offer a complete solution to ASP.Net design and hence HTML tags are still required. Occasionally the need exists for a postback from an HTML tag, this article presents a Custom Control to address this requirement.
  • Extending ASPX Panel Control to produce Rounded CornersMar 05, 2007. This article shows how to create a custom control which encapsulates scripts. Also shows how to add method attributes to interact with VS Designer and ToolBox as well as providing intellisense dropdowns.
  • Docking Controls - Standard and CustomMar 16, 2007. This article addresses the user of the standard 2005 toolstrip container control used in conjunction with toolstrips and discusses an approach to building a custom dockable tool palette.
  • Word to HTML Converter using ASP.Net 2.0 and Microsoft 11.0 object LibraryMar 26, 2007. This article uses "Microsoft 11.0 object library" & process the word document in the backend and convert to HTML document.
  • Sending E-mails with ASP.NET 2.0 using C#May 21, 2007. In this article, Anand examines how to send e-mails using ASP.NET 2.0 in both text and HTML formats using C# with the help of an example.
  • Creating a Dynamic Excel Using HTMLAug 30, 2007. This article includes some sample programs to show how to implement various excel functionalities with the help of HTML.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Ajaxify a simple HTML page using a web service Oct 23, 2007. In this article I will explore using a web service to deliver HTML markup content to an HTML aware client using the XML HTTP request object from JavaScript code.
  • NotePad 2008 Aug 03, 2008. The attached project is Notepad 2008,an advanced version of Notepad that let you create and edit text, HTML, and rich text files.
  • Working with the frame objectAug 28, 2008. In this article, I will represent the frame object witch is a container control that enables to navigate through internet and display some contents such as an Html page.
  • Invalid FORMATETC structure ErrorSep 12, 2008. This tip shows how to fix Invalid FORMATETC structure error when you drag and drop a control from Toolbox to a XAML file.
  • About Development on Two-Way RTF to XML/XHTML Converter Components and ServicesSep 15, 2008. Microsoft introduced the Rich Text Format for specifying simple formatted text with embedded graphics. Initially intended to transfer such data between different applications on different operating systems, today this format is commonly used in Windows for enhanced editing capabilities. The XHTML to RTF converter consists in an XSL stylesheet for parsing XHTML tags and generating their RTF equivalents.
  • Create, Delete, and Update Triggers in a DatabaseOct 02, 2008. This article discusses how to create and manage triggers in a database using SQL.
  • Silverlight Date Picker ControlDec 08, 2008. The DatePicker control in Silverlight 2 enables you to select a date by either typing it into a text field or by using a drop-down Calendar control.
  • Ajax DropShadowExtenderDec 09, 2008. DropShadow is an extender which applies a "Drop Shadow" to a Panel.
  • Saving and Retrieving Web Page Control with SQL Server and C#Dec 18, 2008. This article describes a simple approach to storing, retrieving, and redisplaying web pages.
  • Html Helper method in ASP.Net MVC applicationFeb 23, 2009. This article discusses what an HTML Helper method is and how to create and user it in an application built based on ASP.NET MVC Framework.
  • Creating Excel/Word/HTML Document Using C#Feb 24, 2009. This article describes a simple approach to create Excel/Word/HTML document using C#, ADO.Net dataset without using interop/excel assemblies reference.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Play a Flash Movie within a Div tagMar 06, 2009. This article and attached code snippet shows how to play a flash movie within an HTML DIV tag.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Parsing Markup to represent it as ObjectsApr 01, 2009. Here I place a project I made that takes any markup and turn it in form of a MarkupDocument with elements and attributes, content etc.
  • jQuery in Microsoft.NET and Oracle ASApr 14, 2009. jQuery is a lightweight JavaScript library CSS3 compliant to efficiently traverse HTML documents, handle events, perform actions and add interaction to the Web pages. In this article, I will explain how to use jQuery with Microsoft ASP.NET and Oracle Application Server (AS).
  • jQuery and Ajax in Microsoft.NET and Oracle ASApr 16, 2009. In this article, I will explain how to consume an Ajax-enabled Web service using jQuery.
  • Master-detail data-binding using DropDownList in ASP.NET 2.0Apr 17, 2009. This article is intended to illustrate how to implement the master-detail presentation pattern using the ObjectDataSource components and DropDownList Web control.
  • Validation in ASP.NET using jQueryApr 21, 2009. Validation is an important requirement in every enterprise application and every platform has its own implementation to this regards. In this article, I will illustrate how to implement client-side validation in ASP.NET using jQuery.
  • Sending an HTML-Formatted E-Mail Message from BizTalk ServerMay 05, 2009. Sending an HTML-Formatted E-Mail Message from BizTalk Server
  • Multiple Image Upload in ASP.NETMay 12, 2009. In this article, I am going to discuss how to upload multiple images in ASP.NET simultaneously.
  • Adding Custom Menu in Html Helper class using Extension Method in ASP.Net MVCJul 03, 2009. This article will show how to add new functionality in HtmlHelper class using Extension method. This will give step by step explanation of, how to create or add MENU functionality n Html helper class and then use that in view of ASP.Net MVC application.
  • How to make Rounded Corner Using CSSJul 07, 2009. In this article you will learn how to make rounded corner using CSS in asp.net.

About Drag-and-Drop-in-HTML-5

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks