[thelist] First stab at AJAX

Ben Joyce ben.joyce at gmail.com
Fri Jul 6 03:23:09 CDT 2007


I sawe this post and thought I'd give it a go just for the hell of it
and I get the same result; the whole page refreshes. :(

Most odd.

On 7/5/07, Casey Crookston <caseyc at intellisoftmn.com> wrote:
> Well, I'm breaking new ground here....
>
>
>
> I've downloaded and installed (at least I think I have) the AJAX ASP.NET
> Extensions v1.0.  I'm trying to create my first AJAX enabled page via
> this tutorial:
> http://ajax.asp.net/docs/tutorials/IntroductionUpdatePanel.aspx
>
>
>
> Only thing is, it doesn't work.  L  I worked past a few errors and got
> to the point where I have no errors at compile or run time, but, when
> the page should refresh a control without refreshing the entire page...
> well, it refreshes the entire page.
>
>
>
> To head off possible suggestions, I've included this in my web.config
> file:
>
>
>
> <pages>
>
>      <controls>
>
>        <add tagPrefix="asp" namespace="System.Web.UI"
> assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35"/>
>
>      </controls>
>
> </pages>
>
>
>
>
>
> And here's the source for my test page:
>
>
>
>
>
>
>
> <%@ Page Language="VB" AutoEventWireup="false" CodeFile="ajax.aspx.vb"
> Inherits="ajax" %>
>
>
>
> <!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>Untitled Page</title>
>
> </head>
>
> <body>
>
>    <form id="form1" runat="server">
>
>        <asp:ScriptManager ID="ScriptManager1" runat="server />
>
>        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
>
>            <ContentTemplate>
>
>                <asp:Calendar ID="Calendar1"
> runat="server"></asp:Calendar>
>
>            </ContentTemplate>
>
>        </asp:UpdatePanel>
>
>        <br />
>
>        <asp:Calendar ID="Calendar2" runat="server"></asp:Calendar>
>
>
>    </form>
>
> </body>
>
> </html>
>
>
>
>
>
> Is there something else I am missing?  Thanks,
>
>
>
> Casey
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


-- 
http://www.flickr.com/photos/benbenbenbenben



More information about the thelist mailing list