Click here to Skip to main content
11,642,855 members (70,519 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads
Add your own
alternative version

xLibrary - Using a custom IHttpHandler to access embedded JavaScript

, 28 Feb 2009 CPOL 30.8K 405 41
This article covers how to make a custom IHttpHandler to use the X Library from embedded in an assembly.
<?xml version="1.0" encoding="ISO-8859-1"?>

<x_symbol id='xPad'>


<copyright>Copyright 2001-2007 Michael Foster (</copyright>
<license>Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL</license>

<description><![CDATA[Pad a string, on the left or right, to a specific length using a specific character.]]></description>

<syntax>xPad(str, finalLen, padChar, bLeft)</syntax>


<return>str, after padding</return>

    <note><![CDATA[Index of all X demos.]]></note>

    <note><![CDATA[Reduced 73 bytes]]></note>
    <note><![CDATA[put in it's own file for use with XC]]></note>


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Rick Bassham
Software Developer (Senior)
United States United States
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150731.1 | Last Updated 28 Feb 2009
Article Copyright 2007 by Rick Bassham
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid