Click here to Skip to main content
15,881,424 members
Articles / Web Development / HTML

See Search Results As You Type - An ASP.NET AJAX Control

Rate me:
Please Sign up or sign in to vote.
4.21/5 (10 votes)
11 Apr 2008CPOL3 min read 134.2K   8.7K   67  
A search box that updates the page with search results as you type
<html>
<head>
    <title>ASP.NET Server Variables Code</title>
</head>
<body>

<pre class="code"><span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>@</span> <span style="color: rgb(163,21,21)">Page</span> <span style="color: rgb(255,0,0)">Language</span><span style="color: rgb(0,0,255)">="C#"</span> <span style="background: rgb(255,238,98)">%&gt;
<span style="color: rgb(0,0,255)"></span>&lt;</span><span style="color: rgb(163,21,21)">html</span><span style="color: rgb(0,0,255)">&gt;
&lt;</span><span style="color: rgb(163,21,21)">head</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">title</span><span style="color: rgb(0,0,255)">&gt;</span>Show all ASP Server Variables<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">title</span><span style="color: rgb(0,0,255)">&gt;
&lt;/</span><span style="color: rgb(163,21,21)">head</span><span style="color: rgb(0,0,255)">&gt;
&lt;</span><span style="color: rgb(163,21,21)">body</span><span style="color: rgb(0,0,255)">&gt;

</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;</span>List of all ASP Request.ServerVariables<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;
</span>    
    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">table</span> <span style="color: rgb(255,0,0)">border</span><span style="color: rgb(0,0,255)">="1"</span> <span style="color: rgb(255,0,0)">cellspacing</span><span style="color: rgb(0,0,255)">="0"</span> <span style="color: rgb(255,0,0)">cellpadding</span><span style="color: rgb(0,0,255)">="2"&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;</span>Server Variable<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;</span>Value<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="background: rgb(255,238,98)">&lt;%</span> foreach( string name in Request.ServerVariables){ <span style="background: rgb(255,238,98)">%&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> name <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.ServerVariables[name] <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="background: rgb(255,238,98)">&lt;%</span> } <span style="background: rgb(255,238,98)">%&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">table</span><span style="color: rgb(0,0,255)">&gt;
</span>    
    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;</span>Other Request Object Infos<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;

</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">table</span> <span style="color: rgb(255,0,0)">border</span><span style="color: rgb(0,0,255)">="1"</span> <span style="color: rgb(255,0,0)">cellspacing</span><span style="color: rgb(0,0,255)">="0"</span> <span style="color: rgb(255,0,0)">cellpadding</span><span style="color: rgb(0,0,255)">="2"&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;</span>Request Object<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;</span>Value<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">b</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                ApplicationPath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.ApplicationPath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                AppRelativeCurrentExecutionFilePath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.AppRelativeCurrentExecutionFilePath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                CurrentExecutionFilePath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.CurrentExecutionFilePath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                FilePath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.FilePath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                IsLocal
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.IsLocal <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                Path
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.Path <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                PathInfo
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.PathInfo <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                PhysicalApplicationPath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.PhysicalApplicationPath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                PhysicalPath
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.PhysicalPath <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                RawUrl
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.RawUrl <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                Url
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.Url <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                UrlReferrer
            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>                <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.UrlReferrer <span style="background: rgb(255,238,98)">%&gt;
</span>            <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">td</span><span style="color: rgb(0,0,255)">&gt;
</span>        <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">tr</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">table</span><span style="color: rgb(0,0,255)">&gt;

&lt;</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;</span>Browser Caps<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">h1</span><span style="color: rgb(0,0,255)">&gt;

</span>ServerVariables["http_user_agent"]:<span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">br</span> <span style="color: rgb(0,0,255)">/&gt;
</span> <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span> Request.ServerVariables["http_user_agent"] <span style="background: rgb(255,238,98)">%&gt;
<span style="color: rgb(0,0,255)"></span>&lt;</span><span style="color: rgb(163,21,21)">hr</span> <span style="color: rgb(0,0,255)">/&gt;

&lt;</span><span style="color: rgb(163,21,21)">h3</span><span style="color: rgb(0,0,255)">&gt;&lt;</span><span style="color: rgb(163,21,21)">a</span> <span style="color: rgb(255,0,0)">href</span><span style="color: rgb(0,0,255)">="http://slingfive.com/pages/code/browserCaps/"&gt;</span>BrowserCaps<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">a</span><span style="color: rgb(0,0,255)">&gt;</span> - Request.Browser List:<span style="color: rgb(0,0,255)">&lt;/</span><span style="color: rgb(163,21,21)">h3</span><span style="color: rgb(0,0,255)">&gt;

&lt;</span><span style="color: rgb(163,21,21)">ul</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Browser = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Browser <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Version = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Version <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>MajorVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.MajorVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>MinorVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.MinorVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Platform = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Platform <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>EcmaScriptVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.EcmaScriptVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Type = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Type <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>TagWriter = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.TagWriter <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
&lt;/</span><span style="color: rgb(163,21,21)">ul</span><span style="color: rgb(0,0,255)">&gt;
&lt;</span><span style="color: rgb(163,21,21)">hr</span> <span style="color: rgb(0,0,255)">/&gt;

&lt;</span><span style="color: rgb(163,21,21)">ul</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>ActiveXControls = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.ActiveXControls <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>AOL = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.AOL <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>BackgroundSounds = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.BackgroundSounds <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Beta = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Beta <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Browser = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Browser <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>CDF = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.CDF <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>ClrVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.ClrVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Cookies = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Cookies <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Crawler = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Crawler <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>EcmaScriptVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.EcmaScriptVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Frames = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Frames <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>JavaApplets = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.JavaApplets <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>MajorVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.MajorVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>MinorVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.MinorVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>MSDomVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.MSDomVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Platform = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Platform <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Tables = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Tables <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>TagWriter = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.TagWriter <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Type = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Type <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>VBScript = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.VBScript <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Version = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Version <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>W3CDomVersion = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.W3CDomVersion <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Win16 = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Win16 <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
</span>    <span style="color: rgb(0,0,255)">&lt;</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;</span>Win32 = <span style="background: rgb(255,238,98)">&lt;%<span style="color: rgb(0,0,255)"></span>=</span>Request.Browser.Win32 <span style="background: rgb(255,238,98)">%&gt;<span style="color: rgb(0,0,255)"></span>&lt;/</span><span style="color: rgb(163,21,21)">li</span><span style="color: rgb(0,0,255)">&gt;
&lt;/</span><span style="color: rgb(163,21,21)">ul</span><span style="color: rgb(0,0,255)">&gt;

&lt;/</span><span style="color: rgb(163,21,21)">body</span><span style="color: rgb(0,0,255)">&gt;
&lt;/</span><span style="color: rgb(163,21,21)">html</span><span style="color: rgb(0,0,255)">&gt;
</span></pre><a href="http://11011.net/software/vspaste"></a>

</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
Web Developer
United States United States
Remy Blaettler (or Rémy Blättler in Swiss German writing) works as the Chief of the System for Supertext AG.

Supertext is the first online copywriting agency and has over 300 professional freelance writers, journalists, proofreaders and translaters in ints network.


Remy started dabbling with Computers when he was 12 on his fathers 286 PC with Basic, he soon moved to Turbo Pascal and then to C++. The last 3 years were dedicated to C# and some ASP.NET.

Comments and Discussions