.aspx file help
<p>Thank you for everyone's help so far! Have had some really helpful answers on this site so far so am hoping for one more.</p>

<p>What I want to create is EXACTLY this, but i'm still having problems</p>

<p><a href="http://www.webonweboff.com/widgets/ajax/ajax_linked_selection.aspx" rel="nofollow">http://www.webonweboff.com/widgets/ajax/ajax_linked_selection.aspx</a></p>

<p>I have copied the html and javascript word for word and saved that file as index.html (but obviously with open and close html and body tags)</p>

<p>The file I have called ajaxServer.aspx.cs has the following code:</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Response.ContentType = "text/javascript";
        string id = Request.QueryString.Get("id");
        string action = Request.QueryString.Get("action");
        StringBuilder returnString = new StringBuilder();

        /* 
            Retrieve the data based on values "id" and "action"
            and build a response string in this format: 
                [{text:"...",
         * 
         * value:"...",selected:false},
                 {text...}]
            No final ";" is necessary

            For example:
        returnString.Append("[{text:\"California\",value:\"CA\",selected:false}," +
                             "{text:\"OH\",value:\"Ohio\",selected:false}," + 
                             "{text:\"NY\",value:\"New York\",selected:true}]");

        */

        Response.Write(returnString.ToString());
    }
}
</code></pre>

<p>and the file I have called ajaxServer.aspx has the following code:</p>

<pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" 
    CodeFile="ajaxServer.aspx.cs" Inherits="_Default" %&gt;
</code></pre>

<p>The other (.js) files I have downloaded and saved. When I run the .html file i get the following error:</p>

<p>error fetching data!</p>

<p>url:ajaxServer.asp</p>

<p>method:GET</p>

<p>params:action=state,culture=en-us</p>

<p>readyState:4</p>

<p>status:403</p>

<p>headers:Server: ASP.NET Development Server/10.0.0.0
Date: Sun, 19 Jun 2011 20:39:55 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 2126
Connection: Close</p>

<p>--> Any clues anyone? And once again - thank you for all the help in advance!</p>
