Click here to Skip to main content
13,093,245 members (76,775 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads


41 bookmarked
Posted 4 Jul 2007

xLibrary - Using a custom IHttpHandler to access embedded JavaScript

, 28 Feb 2009
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...

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