RIA & Web Sample Code
-
Debugging client JavaScript in VS 2005
by Jimmy Skowronski
Short guide how to debug client JavaScript in VS 2005.
-
Trimming form fields
by Andy Clarke
Web forms often ask visitors for non-essential information, but long and complicated forms can seriously hinder the e-commerce sales process. Wouldn't it be cool to give users the option to hide these optional fields at their own discretion, and with a clever use of Javascript, the DOM and some CSS we can!
-
A Simple ASP.NET MessageBox Class
by Lee Gunn - .NET C# Scotland
When moving from Windows Forms to ASP.NET Web Forms, an API that may be missed is that offered by the System.Windows.Forms.MessageBox Class. Here we implement it for ASP.NET!
-
Add a JavaScript popup to an ASP.NET button
by Edward Tanguay
How to add a javascript popup (alert) question to an ASP.NET button control.
-
How to create PDF files from ASP.NET pages
by Edward Tanguay
How to create PDF files from ASP.NET pages with Crystal Reports without using Visual Studio.NET
-
User Defined Splice function
by David Nishimoto
Returns all previous character up to the pattern match
-
Show a HTML Help topic by its filename
by James Crowley
How to display a HTML Help topic by specifying its filename
-
Internet Transfer Control
by S.S. Ahmed
This is a simple code that demostrates the usage of internet transfer control to retrieve HTML code from a web page.
-
Printing with formatting in VB.NET
by Jereme Guenther
This code demonstrates how to print formatted text using VB.NET, with a a printing class which allows text to be formatted at the character level.
-
Using ASHX files to retrieve DB images
by Harry Pierson
Learn how to use the little-known Http Handler functionality of ASP.NET to serve images from a database.
-
Image to HTML
by Michael H
A simple program that converts images into blocks of font tag colored 1s and 0s.
-
Converting HTML to Text
by Karl Moore
Demonstrates how to use a simple regular expression to remove all HTML tags from text
-
XBrowse
by J P
XBrowse is a small application that allows the user to view and edit XML files as well as extract XSD schema files from the XML document. It is overall a pretty simple program that is based off of a code snippet in the VS.Net IDE.
-
Force case restrictions
by Super Tal
Change a text field to all lowercase or uppercase before submitting.
-
Serialize and deserialize objects to an XML file
by Edward Tanguay
This code shows the simplest way to automatically convert the information in an object to an XML file and back into an object. This is useful if you need to make information available web-server like on your server for other applications to pick it up.
-
How to write an ASHX file
by Edward Tanguay
An example of using a web handler file which you can use when your output is not going to a browser but to an xml-consuming client of some kind, keeping you away from all the browser technology you don't need.
-
Building a MultiDimensional Array in Javascript
by David Nishimoto
Building a MultiDimensional Array in Javascript
-
Combining Javascript and DOM
by David Nishimoto
David Nishimoto demonstrates accessing the Document Object Model available in IE 5 from your javascript code
-
Fading Scrollbar
by Peeyush Nigam
This code can be used to design a Fading Scrollbar, using CSS and JavaScript technology.
-
Animate Button
by Peeyush Nigam
Following code is to develop different animated buttons using the tricks of CSS, Javascript and HTML. The code is effective for IE-5 and above. Developed by Peeyush Nigam (CEO-PARI WEB SERVICES™)