Click here to Skip to main content
15,885,032 members
Articles / Web Development / HTML

flickr Spell Extender Control for ASP.NET Atlas

Rate me:
Please Sign up or sign in to vote.
4.96/5 (15 votes)
27 May 2006CPOL12 min read 71.7K   508   58  
An ASP.NET Atlas server extender control that converts text specified in a control to images from flickr.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="FlickrSpell" TagPrefix="flickrSpell" Namespace="FlickrSpell" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Flickr Bridge Test</title>
    <style type="text/css">
        .flickr-text img ,    .flickr-text  span
        {
            float: left;
            height: 48px;
            width: 48px;
            display: block;
            font-size: 32px;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }

        
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <atlas:ScriptManager ID="ScriptManager1" runat="server">
            <Services>
                <atlas:ServiceReference GenerateProxy="true" Path="flickrbridge.asbx" />
            </Services>
        </atlas:ScriptManager>
        <h1 id="test" runat="server">The CodeProject</h1>
        <flickrSpell:FlickrSpellExtender ID="FE1" runat="server" >
            <flickrSpell:FlickrSpellProperties TargetControlID="test" />
        </flickrSpell:FlickrSpellExtender>
    </form>
</body>
</html>

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.

License

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


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions