RIA & Web Sample Code
-
Debugging client JavaScript in VS 2005
by Jimmy Skowronski
Short guide how to debug client JavaScript in VS 2005.
-
The AJAX "Top 5" security tips
by Moe Tarhini
There is no doubt that AJAX and AJAX-style technologies are the way forward for web design. Developers can create true "applications" on the web like never before - however care needs to be taken with AJAX, in order to keep web sites secure.
-
Interacting with TinyPic from C#
by Fernando Sanchez
The following tutorial will demonstrate how to interact with http://tinypic.com, an image mirroring service, directly from a C# application using the WebRobot component.
-
Developing your first Visual WebGui application
by Guy Peled
An introduction to Visual WebGui through a sample application.
-
Visual WebGui a unique approach to AJAX development
by Guy Peled
Visual WebGui is not just another AJAX framework but rather a different approach to web application development, specially designed to simplify building highly complex applications like Outlook Web Access (OWA). Visual WebGui makes it possible for developers to create applications that were previously developed only by the "big guys".
-
Validate Phone or Fax Number
by Pradip Patel
This is a small javascript function that can be used to validate a phone or fax number.
-
Uploading Files Using ASP.NET
by Man from Mars
No need of third party components to upload your files. It is so easy to upload files in ASP.NET using just 3 lines of code.
-
CSS Positioning Within a Container
by Trenton Moss
One of the best things about CSS is that you can position an object absolutely anywhere you want in the document. It's also possible (and often desirable) to position objects within a container. It's simple to do too.
-
Centre Aligning a Block Element
by Trenton Moss
Learn how to have a fixed width layout website, and the content floated in the middle of the screen, with pre IE 6 compatability.
-
Image replacement technique
by Trenton Moss
It's always advisable to use regular HTML markup to display text, as opposed to an image. Doing so allows for a faster download speed and has accessibility benefits. However, if you've absolutely got your heart set on using a certain font and your site visitors are unlikely to have that font on their computers, then really you've got no choice but to use an image.
-
CSS font shorthand rule
by Trenton Moss
Learn how to shorten those CSS font rules.
-
Building an 'AJAX' ProgressBar in Atlas
by Wilco Bauwer
Learn how to write a basic, client-side Atlas progress bar, and download the source code.
-
Url Rewriting with Regex for ASP.NET 2.0
by Xavier Larrea
A new feature in ASP.NET 2.0 is it's built-in url rewriting support. When i looked into this new feature I found that it lacked regular expressions support, which is really the point of an Url Mapper. So, this code demonstrates how to create a Url Rewriting Module with Regex support in ASP.NET.
-
Applying XSL transformations to XML in .NET
by Krishnan
A simple demonstration of how to apply an XSL transformation to an XML file and save the output using .NET
-
VB.NET Stylise Your Forms like you would with CSS on a webpage
by phill
How to Programatically change properties of all the controls on your form.
-
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.
-
How to disable all elements on a form
by Edward Tanguay
You almost always want to have your form to be disabled as soon as the user pressed the submit button so that the user doesn't accidently submit the form twice. Here's how.
-
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!
-
Generate an Image of a Web Page
by Alan Dean
Demonstrates how to fetch images and thumbnails of web pages using a hidden web browser control.