C# Corner

Resources  
  • Adding Menu Support to a Windows FormDec 18, 2000. This sample code shows you how to use the MainMenu and MenuItem classes to add a menu and click handler for a Windows Form.
  • Database Explorer : Part 2Jan 22, 2001. Attached is a C# program which is a enhanced version of the previous article on ADO.NET.
  • ADO.NET Database Explorer with Query Analyzer : Part 3Jan 24, 2001. This is the part three of the Article Database Explorer. This parts adds some more and valuable functionality.
  • Visual Studio .NET: Start upMar 20, 2001. The next version of Visual Studio 6.0 is Visual Studio .NET (VS.NET). In the previous versions of Visual Studio Microsoft has different menu options to pick development environment such as VC++, Visual FoxPro, Visual Basic or Visual Interdev. This version of Visual Studio has integrated everything in one IDE. The reason for that might be all development languages share common library and tools.
  • Creating Run-Time Menus in C#Jun 14, 2001. Sample example on how to create runtime menus.
  • Animate System Tray in C#Jun 18, 2001. I am sure those who have worked with Visual C++ would have experienced the problem of displaying an icon in system tray and manipulating with context menus for that. Previously I use to display System tray icons with Shell_NotifyIcon by filling a structure and manipulating with a context menu for that icon is another problem.
  • Text Editor in C#Jun 27, 2001. This editor is more like the notepad that we use on daily basis. The text editor has menu with shortcuts to all of them.
  • Stock TrackerJul 18, 2001. This program is a utility to track stock quotes for multiple symbols.
  • Printing out your W2 Form using C# and .NETAug 07, 2001. This article covers a fairly practical aspect of using a computer - dealing with forms.
  • Run-Time Menus in C#Aug 20, 2001. The following example demonstrates how to create menus on the fly.
  • Menu Page on Mobile SiteAug 31, 2001. My basic idea to stat this site is to show you a real-world example and how mobile programming can be integrated to a web site. I would try to build this site as useful as I can. If you've got any ideas or suggestions, please don't hesitate to send it to me.
  • Editor in C#Sep 03, 2001. C# Editor shows you how to use toolbar, status bar, dialog boxes, menus and other Windows forms controls.
  • Working with Menus in C#Dec 20, 2001. In this article I elucidate how to adding menus and menu item to Windows forms, Replacing, Cloning, Merging of menus and about Context menus (Popupmenus).
  • Owner Draw Menus in C#Apr 03, 2002. This article will explain to you how we can draw our own menu items with our own fonts , pictures , background color and other graphics objects.
  • Poorman's Installation program in C# and .NETApr 08, 2002. Installation programs can be quite expensive these days. Although programs such as Wise and InstallShield have fantastic features and are fairly comprehensive, sometimes you just want to do the easy installation of copying and pasting files into a directory and perhaps placing a shortcut in the start menu.
  • 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.
  • Kill an Application with System Menu using C#Nov 20, 2002. This article uses the Windows API’s to kill the application running under windows environment.
  • Opening and Viewing Text and Image FilesMar 08, 2003. We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ drawing, menus and panel control.
  • 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.
  • Learning Visual Studio 2005 IDE - Main IDEJun 07, 2004. In this article of Learning Visual Studio 2005 IDE series, I will explore some of the designer features and the breakdown of the classes of a Windows Forms project.
  • Using the Tablet PC as a Flashing Restaurant Menu in C# and .NETJun 08, 2004. This is a simple application written for a restaurant using Tablet PC that allows you to list such things as lunch specials and have the colors on the board change randomly to produce an interesting flashing sign effect.
  • How to Select all Checkbox when Header Checkbox is SelectedDec 30, 2005. Here I have provided the code using javascript to check/uncheck all checkboxes when header checkbox is checked. I recommend JAVA Script because its executed at client side and saves request Round-Trip time.
  • Select/Deselect all Checkboxes at Server side in ASP.NET using C#Jan 11, 2006. In this article we will see that how to select/deselect all checkboxes using C#.net server side code inspite of simple Javascript code.
  • Usage of doPostBack in a Real EnvironmentJan 29, 2006. Many atricles describes about "__doPostBack". But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article derived from my practical experience and will continue only such items from my side, as only those thing will help a developer.
  • AJAX Pager controlFeb 01, 2006. After AJAX Repeater control next logical thing was to try and create paging control, a control which renders paging links when you set its properties like page count and page number, I have been using similar control in asp.net page so I decided to implement same thing with JavaScript.
  • Introduction to the MagicAjax.NET - The Magic Ajax Engine for .NETFeb 11, 2006. MagicAjax.NET is a free open-source framework, designed to make it easier and more intuitive for developers to integrate AJAX technology into their web pages, without replacing the ASP.NET controls and/or writing tons of JavaScript code.
  • AJAX Repeater control Feb 19, 2006. AJAX has been in shadows for a decade now but it started buzzing right after the launch of the Google Earth. This article shows how to create an AJAX Repeater control with item, header, footer, alternative item, and seperator item templates using AJAX and ASP.NET.
  • Client Side Validation with JavaScript in ASP.NETMar 22, 2006. This simple program will guide how to do client side validation in JavaScript.
  • How to Automatically Send a Resolution Optimized Markup of a Web Page to the ClientApr 15, 2006. This article will tell you about a technique through which you can make intelligent ASP.NET websites which will automatically detect the resolution of the visitor's desktop and generate a resolution optimized mark-up of a page, not forcing the visitor to keep the resolution of his/her desktop according to the website's best view resolution.
  • AJAX DataGrid: An ASP.NET User ControlMay 16, 2006. This DataGrid is a Client Side Control. It is created by JavaScript and uses Ajax.net technology.
  • Debug Client Side Script in Visual Studio 2005May 18, 2006. This article is for web developers, because it's target is one of the new feature in Visual Studio 2005 which is debug client side script.
  • AJAX Document Management - AJAX Document ViewerJun 16, 2006. AJAX (Asynchronous JavaScript and XML), is a web development technique for creating interactive web applications. The intention of AJAX is to exchange small pieces of data with the server without the necessity of reloading the entire web page.
  • System components performance in ASP.NET using C#Jul 01, 2006. This article shows how to retrieve system properties in a webpage on just singleclick of mouse.
  • Building applications with DLinq DesignerJul 01, 2006. DLinq designer is the visual design surface to create the entity objects and bound the controls to the dlinq objects with relationships. We can easily create the windows form using the designer. The developer need not take more time to design the User Interface. The designer itself suggests you the controls suitable for the selected fields.
  • Using LINQ in Visual Studio 2005Jul 03, 2006. LINQ (.Net Language Integrated Query) is the general-purpose standard query operators that allow traversal, filter and projection operations to be expressed in a direct yet declarative way in any .Net programming language.
  • .NET Language Integrated Query for XMLJul 17, 2006. This is the overview of .NET Integrated Language Query for XML. This Article explains some of the features of XLINQ with example.
  • Calling the Server-Side method asynchronously from Client ScriptJul 19, 2006. This article describes how to call the server-side method asynchronously from JavaScript with the use of Client Callbacks that is built in ASP.NET 2 so that the client browser receives the data dynamically without page postback.
  • Outlook Style Menu with Collapsable Side MenuAug 25, 2006. This article shows very good outlook style menu with collapsable side menu.
  • Infragistics UltraWebNavigator Context Menu Integration with JavascriptSep 13, 2006. This article shows one of the difficult functionality of adding context Menu on Infragistics UltraWebGrid, in conjunction with mouse right click.
  • Crystal report with Dynamic ColumnNov 03, 2006. The objective of this article is to provide a process which can be followed to develop a crystal report with dynamic columns using parameterized column fields and formula fields. Before going for this the developer has to decide the maximum number of columns he/she has to display and as per the no. of columns the size of the paper. The developer can define the size of the paper by selecting Printer Setup in File menu.
  • Using Client Callbacks for Building the ListBoxesFTs_C ASP.NET Web User Control: Part INov 23, 2006. In this article I share how you can build your own ASP.NET web user control with the help of the Client Callbacks. The examples are written using C# and JavaScript.
  • Using Client Callbacks for Building the ListBoxesFTs_C ASP.NET Web User Control: Part IINov 27, 2006. In this article I share how you can build your own ASP.NET web user control with the help of the Client Callbacks. The examples are written using C# and JavaScript.
  • Extending the ASP.NET ImageButton ControlDec 18, 2006. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • Stacked ClipboardDec 28, 2006. This article explains about simple clipboard operation and an extended clipboard functionality.
  • Creating a Context Menu on a DataGridView Mouse Click Jan 17, 2007. This article describes how to create a context menu when you mouse click on a DataGridView control in Windows Forms.
  • Refreshing a parent page from a child in ASP.NET 2.0 Jan 19, 2007. I'm going to explain how to refresh a parent page from a child page using the new API of ASP.NET 2.0 and JavaScript language.
  • Image Mapping UtilityFeb 23, 2007. This article describes an easy approach to building a simple image mapping utility that may be used to mark and store points as pixel based coordinates from an image file or directly from a web page.
  • Extending ASP.NET 2.0 Menu Control To Have Tabs With Rounded CornersFeb 26, 2007. The ASP.NET Menu Control normally produces tabs which have rectangular edges. The techniques presented extend the control to create tabs with rounded corners.
  • Using a COM Callable Wrapper to Launch a Program from a Hyperlink in the WebBrowser ControlMar 02, 2007. This article describes how you can launch an application from a link inside the WebBrowser Control using a combination of javascript and an ActiveX Control created in C#.
  • How to debug clientside Javascript code in VS2005 or VS2003Mar 30, 2007. This article helps you to debug Javascript code on an ASPX page.
  • How to Submit Form When User Press Enter Key on DropDownList BoxMay 25, 2007. This small codes written in JavaScript will help you to submit form when user press enter key on dropdownlist.
  • Select Items with Where in LINQ and C#Jun 21, 2007. This article shows how to select exact match and in between items from a collection using LINQ and C#.
  • Reading and Writing XML using XLinqJun 21, 2007. XLinq is a new API to work with XML using LINQ. XLinq is more flexible, simple, and faster programming model to read, write, manipulate, and traverse XML documents.
  • Think in LINQ: Yahtzee Score Calculator Using LINQ TechnologyJul 23, 2007. This article revisits the yahtzee program I wrote in 2002 and reimplements scoring using LINQ technology. It compares the old way of scoring with LINQ and shows you the advantages of using LINQ.
  • Data Binding using LINQ to SQL in C#Aug 09, 2007. LINQ to SQL allows developers to work with databases using LINQ. This article discusses how to get, add, update, and delete data in a DataGridView control using LINQ to SQL.
  • Creating MenuItem With WPFSep 03, 2007. In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
  • 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.
  • JavaScript Calendar Control in ASP.NET 2.0Oct 01, 2007. The problem with ASP.NET Calendar control is it refreshes the page every time any event is fired. To avoid this, we have to use JavaScript Calendar control.
  • 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.
  • Cross browser conditional validationOct 25, 2007. This article show how to show/hide textbox with required field validation on radio button click in a master page.
  • Chapter 1: Introducing ASP.NetJan 07, 2008. This article tells the features and frills of Asp.Net 3.5 and .Net framework.
  • Functional Programming in C#: CurryingJan 13, 2008. Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.
  • Running the command prompt from visual studio tools menuJan 17, 2008. This article tells you how to run visual studio command prompt from inside the visual studio.
  • Functional Programming with C#: Lazy CalculationJan 20, 2008. I ran across Mike Gold’s nice algorithm for finding primes using LINQ syntax and thought I’d use his idea as a base from which to demonstrate one of the more subtle features in functional programming: lazy calculation.
  • Where Did All the Designers Go! Jan 24, 2008. Software is one of the fastest paced industries in the business world. As quickly as software languages come and go, skill sets require constant learning. In trying to keep up with implementation aspects of software, did we somehow forget about the priority of creating a good design? This article describes how we came about with a void of software design skills in the programming world.
  • Find and Close the window using WIN APIFeb 01, 2008. This article explains how to find and close the window using Win API.
  • Chapter 1: Hello LINQFeb 06, 2008. This is an exert from Joseph C. Rattz, Jr.'s book Pro LINQ. Here you learn how to use Linq in your application and also depicts the benefits of using Linq.
  • Selecting Checkboxes inside the GridView ControlFeb 27, 2008. This article explains about how to select checkboxes inside the GridView control using javascript.
  • Comaprission of dates for a year in JavaScriptFeb 29, 2008. This article and code snippet shows how to use JavaScript to validate dates in a method for a year.
  • Save the application settings for subsequents sessionsApr 19, 2008. It is very important to save the application settings established by the user in the current session, in order to avoid the application pattern establishment for each time a new session is opened.
  • Client Side Validation of GridView control with javascriptMay 21, 2008. This article shows how to use client side validations in GridView control with JavaScript.
  • Using LINQ to Objects in C#May 26, 2008. This article provides an introduction to employing LINQ to Objects queries to support a simple win forms application; the article addresses the construction of LINQ to Objects statements and then goes on to describe how one might use LINQ to Objects within the context of an actual application.
  • Save TreeView Nodes ExpansionJun 24, 2008. We frequently use an ASP.NET TreeView as a navigation menu. This works well on a single page but if you include the control on a Master Page, it looses its expansion state as you move from one content page to another.
  • Convert a LINQ Query Resultset to a DataTableJun 24, 2008. After a long struggle I find out the way to convert a Linq Query resultset to DataTable object. The attached source code shows how to do it.
  • Cascading Deletes in LINQ to SQLJul 03, 2008. This article will discuss alternative methods for performing cascading deletes using LINQ to SQL. Cascading delete refers to the action of removing records associated by a foreign key relationship to a record that is the target of a deletion action.
  • Generic Data Access using LINQ to SQL and C#Jul 22, 2008. This article discusses the construction of a generic data access layer built on top of a LINQ to SQL implementation.
  • Menus in WPFJul 29, 2008. This tutorial shows you how to create and use a Menu control available in Windows Presentation Foundation (WPF).
  • SQL Server Stored procedures and UDF within LINQ context-PartIISep 03, 2008. In the first article, SQL Server Stored procedures and UDF within LINQ context-Part I, I exposed 2 scenarios of how to deal with stored procedures using LINQ, in this second part, I will accomplish the task by demonstrating how to call a user defined function UDF using the same way adopted in the first part.
  • SQL Server Stored procedures and UDF within a LINQ context-Part ISep 04, 2008. In this two parts particle, I will give techniques of how to deal with stored procedures and user defined functions UDF from within a LINQ context rather than ADO.Net.
  • Silverlight Tutorial: Creating a data centric Web Application with DataGrid, LINQ, and WCF Web ServiceSep 15, 2008. This step-by-step tutorial is a guide for creating a silverlight Web application capable of submitting and retreiving data from a database.
  • LinqDataSource Control in ASP.NET 3.5Sep 16, 2008. This article shows that how to use LindDataSource Control in ASP.NET 3.5.
  • MultiView using Menu Control in ASP.NET 3.5Oct 02, 2008. In this article, I will explain how to use MultiView control in ASP.NET 3.5.
  • Using a JavaScript Calendar Control in Master PagesOct 20, 2008. This article shows how to use a JavaScript Calendar control in master pages.
  • Debug Javascript in Visual Studio 2005Nov 06, 2008. This article explains you how to debug script in VS2005 by using practical Google map example.
  • Using Lightbox in an ASP.NET Application (C#)Nov 17, 2008. The article describes Lightbox as, "... a simple, unobtrusive script used to overlay images on the current page." It delivers a nice, professional looking method for displaying images as overlays through the use of hyperlinks.
  • Secrets of Extension Methods: Part IIDec 23, 2008. This article explains how Extension Methods are used in LINQ.
  • SharePoint Customization Tricks: Part IJan 20, 2009. This multipart series of articles is intended to help you get ramped up with SharePoint customizations. In this article we will see how to hide List View Toolbar Menu Items.
  • SharePoint Customization Tricks: Part IIJan 26, 2009. In this article, I'll show you another two tricks for customizing the list form toolbar.
  • JSON FundamentalsFeb 02, 2009. A new data format which is built on JavaScript is called JavaScript Object Notation[JSON]. It is a lightweight data format based on JavaScript syntax. JSON definitions can be included within JavaScript files. This post speaks about basic syntax of JSON.
  • Facilitate Use of Special Characters in a C# Text Editor ApplicationFeb 05, 2009. This article describes a simple approach to implementing special character use in a C# based text editor.
  • Using Data in Silverlight 2 Applications - IFeb 05, 2009. In this Article you will learn how to create a data connection, a LINQtoSQL class and a WCF service.
  • SharePoint Customization Tricks: Part IIIFeb 05, 2009. This multipart series of articles is intended to help you getting ramped up with SharePoint Customization.
  • SQL Server Compact and LINQFeb 13, 2009. In this article, I will cover how to access data in SQL Server Compact databases (.sdf file) using new development technologies such as LINQ.
  • Easy LINQ to SQL Based Master-Detail Editor C#Feb 22, 2009. This article describes a simple approach to creating a LINQ to SQL based master-detail view with the ability to save changes made to the data. With practically no coding involved, the application below will allow the user to edit the master record as well as the detail records.
  • LINQ FAQ for Newbie's Mar 05, 2009. In this article we will run through basics of LINQ and then see 5 basic LINQ queries which you will always need in your project for queries. While looking at the basics we will also try to learn what problem LINQ solves from the perspective of middle tier business objects.
  • Building your own Java Script EditorMar 23, 2009. A step by step guide for implementing your Java Script editor.
  • SALT and PEPPER – 3 TIER and LINQMar 26, 2009. There is no pre-requisite (Oh yes even if you do not know LINQ this article will guide you) for this article J what I need from you guys is time to read this article. So block your 10 minutes and rest assured you will understand LINQ in a much better way.
  • How to keep track of modified values of controls in a web pageApr 10, 2009. Many times we come across the situation where we want to keep track of the fact that which control values in a page are changed at the time of page submission. Here in this article, we see how to do that.
  • 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.

About Javascript-and-Linq-Menus

NA
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