RIA & Web Sample Code
-
Converting HTML Colour to RGB
by Kym Manson
How to convert a HTML colour code to a RGB format.
-
MS Agent in a web site
by Warren
Ever wondered how to use the MS Agent characters from your website? This example demonstrates how, using JavaScript and VB Script
-
XML Node Insert
by Paul Parks
Someone recently asked on the Undernet #C# channel for help with inserting a block of XML into an existing XML document. After perusing a couple of MSDN articles here's what I came up with.
-
How to write to an XML file
by Edward Tanguay
Writing to XML files is quite easy in ASP.NET as there are so many objects prepared for you -- you just need the syntax on how to use them. This code shows you how to write a simple member XML file.
-
Force case restrictions
by Super Tal
Change a text field to all lowercase or uppercase before submitting.
-
How to validate an XML file with an XSD file
by Edward Tanguay
Demonstrates an ASP.NET Web Form which tells you if your file is not well-formed and then if it is not valid it lists out the specific reason (like in XMLSpy), quite helpful to find an error in a large XML file as it returns the line number on which the error occurred as well as the tag name.
-
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.
-
Determining Client Capabilities
by Peeyush Nigam
Determine the capabilities of a client browser from the resolution to the user language.
-
Highlighting phrases in text
by David Nishimoto
Returns a character phrase with html highlighting a Pattern. The hightlight is dependant on the Type.
-
News Scroller
by Peeyush Nigam
Javascript News Scroller for IE 5 and above
-
Building a MultiDimensional Array in Javascript
by David Nishimoto
Building a MultiDimensional Array in Javascript
-
Autolink
by David Nishimoto
Automatic jump to a url on when the mouse moves over a link
-
User Defined Splice function
by David Nishimoto
Returns all previous character up to the pattern match
-
Rotating Images
by David Nishimoto
Rotating Image and Dynamically Change the Link
-
Animated Text
by Peeyush Nigam
Animate text using JavaScript
-
Finding a string inside a larger string
by David Nishimoto
Explains how to find a string inside of a bigger string
-
Combining Javascript and DOM
by David Nishimoto
David Nishimoto demonstrates accessing the Document Object Model available in IE 5 from your javascript code
-
Animated Buttons
by Peeyush Nigam
A few more animated buttons using CSS, Javascript and DHTML to create new more interactive & cool Form Button controls. Remember the code is best suited for only IE-5.5 and above.
-
Fading Scrollbar
by Peeyush Nigam
This code can be used to design a Fading Scrollbar, using CSS and JavaScript technology.