[thelist] First stab at AJAX

kara iemree at gmail.com
Sun Jul 8 11:10:54 CDT 2007


As an alternative, you can copy ajax related parts from a web.config file,
which created as "Ajax enabled website" and paste it to your web.config.

2007/7/6, Casey Crookston <caseyc at intellisoftmn.com>:
>
> Got it to work.  For some reason, I can't add Ajax to a project after
> it's already created.  It needs to be created as an Ajaz enabled project
> from ground up.  Works like a charm when it's done that way!
>
> Casey
>
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ben Joyce
> Sent: Friday, July 06, 2007 3:23 AM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] First stab at AJAX
>
> 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 !
>



-- 
kara



More information about the thelist mailing list