Click here to Skip to main content
11,705,473 members (40,924 online)
Click here to Skip to main content
Add your own
alternative version

Dynamic DeepZoom ASP.NET User Control using Seadragon

, 19 May 2010 CPOL 47.3K 2K 8
A deepzoom user control doesn't need to generate deepzoom image files
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1.WebForm1" %>

<%@ Register src="DeepZoom.ascx" tagname="DeepZoom" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #Button1
        {
            margin-top: 0px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table>
        <tr>
            <td>
                Image URL:
                <asp:TextBox ID="TextBox1" runat="server" Width="267px">test.jpg</asp:TextBox>
                <asp:Button ID="Button1" runat="server" Text="Open" />
            </td>
        </tr>
        <tr>
            <td>
                <uc1:DeepZoom ID="DeepZoom1" runat="server" TileOverlap="1" TileSize="256" />
            </td>
        </tr>
    </table>
    </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)

Share

About the Author

Lang Deng
Web Developer
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 20 May 2010
Article Copyright 2010 by Lang Deng
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid