Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
November 2006 - Posts - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, Xamarin.iOS, Xamarin.Android, and Windows Azure.

News

Visual Studio Magazine Column Personal Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

November 2006 - Posts

South Bend, IN / Michiana .NET User Group - Why you should come!!!!!

The meeting is on Tuesday 11/21/2006.  Not only will I be there, but I have the absolute coolest giveaway drawing for the user group.  No, its not an ASP.NET Podcast tshirt.  Its one of the invites for MSDN access, including Visual Studio (Team System, I think).  Anyway, you must be present to win.  The value of the giveaway is billions (not really, but it sounds cool).

"'Sys' is undefined" in Atlas

Do you get this error in Microsoft Ajax / Atlas?  I got it for the first time last night.  I've heard about it in the forums.  On my system, it appears to be a mismatch between web.config files and the code installed on my machine.  I had an app that I had written under beta1.  I pulled it over to a system with beta2.  I got this error defined above.  When I took the files and placed them into a project started under beta2, all my problems went away.  Hope this is helpful if you get it.

Update:  Lori "The goddess of knowledge" said I should add the following:
You have to add a handler in two spots in the web.config file to get rid of this message.
   <add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false"/>

Posted: Nov 17 2006, 09:18 AM by Wallym | with 23 comment(s)
Filed under: ,
"Beginning ASP.NET 2.0 AJAX" - Status Update

I've been pretty much underground for the past few weeks.  I've not blogged or podcasted for a while.  I've put a lot of time into my chapters on our upcoming book: "Beginning ASP.NET 2.0 AJAX."  I am glad to say that as of about 12:30 pm local time, I shipped off my first draft of the UpdatePanel chapter.  This is the last chapter that I have to do for the printed book. I'll be working on some downloadable content, but that is relatively small and for later on.

Wiley site: http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470112832.html 

Amazon site: http://www.amazon.com/o/ASIN/0470112832/ref=pd_rvi_gw_1/002-4714738-3433624 

Here is a copy of the proposed cover:

 Wally

PS. Maybe I should draw a moustache on Glav or give him some hair, he definitely needs it.

Chattanooga, TN on November 14, 2006 - .NET User Group talking about Microsoft AJAX
I'll be in Chattanooga, TN on November 14, 2006 talking about Microsoft AJAX.  If you are in the area, plan to attend.
Blogging will be slow
Over the next 10 days or so, blogging will be fairly slow.  I am working on finishing up a chapter.  Once I get that, I will be ramping back up, but until then, you are on your own.
IIS7 on Vista

http://weblogs.asp.net/pleloup/archive/2006/11/09/Why-IIS7-is-not-released-for-Windows-2003_3F003F00_.aspx

I tend to agree with Paschal on this one.  I think that IIS7 is a really cool technology.  I wish it was availabe stand alone and could be installed on Windows 2003 Server.  The problem is that my customers are slow to change.  I am only now starting to see rollouts of Windows 2003.  Assuming that Windows Vista Server comes out in 2007, and that is by no means guaranteed, then it will likely be 2010 before I see any customer rollouts of the technology to where I can use it.

I also realize that there are numerous business decisions that factor into this.

Wally

Posted: Nov 09 2006, 10:45 AM by Wallym | with 3 comment(s)
Filed under:
UpdatePanel Data Transfer and the beginRequest and endRequest client side page life cycle events - Microsoft AJAX Library and ASP.NET 2.0 AJAX Extensions

Cross posted from: http://morewally.com/cs/blogs/wallym/archive/2006/11/01/470.aspx

Is AJAX really AJAX?  The answer, like many other things, is “It Depends.”  The AJAX acronym states that the X is for XML.  I can’t speak for all frameworks, but some frameworks use JSON (JavaScript Object Notation) for some amount of their data transfer. 

The UpdatePanel is a little bit different.  It doesn’t always use JSON.  It uses a custom textual format.  On the arguments of the EndRequest  handler that I created, the Args.get_response().getResponseData() method returns the content that is sent from the server to the web browser when the updatepanel sends data down to the client.  The format of the data seems to be: Size|ControlType|ControlName|ControlData.  In this case, the size is 2775 bytes(I assume), the updatePanel is being acted on, the control that is acted upon is uplSearch, and then the data that is sent.

 

I hope that this is an interesting fact that has brightened your day.  Note that this also shows how to use the beginRequest and endRequest client side page life cycle events.

 

Code I used:

        <script language="javascript" type="text/javascript">

        <!--

        Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequestHandle);

        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandle);

        function beginRequestHandle(sender, Args)

        {

            alert("Begin Request Handle called.");

        }

        function endRequestHandle(sender, Args)

        {

            for(m in Args.get_response())

            {

                if((m.indexOf("get_") == 0)&&(m!="get_object"))

                {

                    alert(m + ": " + eval("Args.get_response()." + m + "()"));

                }

            }

            alert("End Request Handle called.");

        }

        -->

        </script>

 

Data that was sent back:

More Posts « Previous page