Daniel's profileDaniel Larson's Develope...BlogListsGuestbookMore ![]() | Help |
|
August 27 Democratic National Convention Scavenger Hunt: Day 2More pics from the DNC... check out Josh, one of our software test engineers, standing with a Gitmo escapee. And the guy protesting for bigger signs. I hear you dude. And there he is-- one sane guy with the Jesus Saves sign. Yes He does. Nice to see some Christian love at the DNC... What an event-- this is a great party, no matter what your party is! Democratic National Convention Scavenger Hunt: Day 1This week, the NewsGator camera crews are out in force at the DNC for the lunchtime scavenger hunt (we right software most of the time, actually). These are pictures I took on Tuesday, 8/26. We're still looking for some photos inside Gitmo on the Platte, but we've got plenty of other cool pictures. You gotta love dead people walking the streets, and the lost brigade roaming the streets looking for weapons of mass destruction in Denver. I think they heard Osama bin Laden-- but instead it's Osama and Biden in town.
August 11 Client Side AJAX History Support with Sys.ApplicationOne of the cool new features of the 3.5 SP1 Microsoft AJAX Library is a history framework, which adds support for backwards and forwards navigation using history points. History points can be added any time, and contain a JavaScript dictionary that helps you serialize and deserialize the state of the application or control. To enable history, the ScriptManager must be set to support history: <asp:ScriptManager ID="ScriptManager1" runat="server" EnableHistory="true" /> To add a history point, simply add a JavaScript dictionary object and a title for the history point: var state = { message: "Hello World!" }; To handle the navigate event which is fired by Sys.Application upon client back button usage, create a handler: function onHistoryNavigate(sender, eventArgs) { Finally, you'll need to add the handler to Sys.Application. Note that because navigate is an event, multiple consumers can add a handler to the event: Sys.Application.add_navigate(onHistoryNavigate); In a control, you'd want to call remove_navigate to clear your event handler. Finally, the following sample page demonstrates the use of history through the creation of 3 history points. As each history point is added, the navigate event is raised (synchronously) causing the final state of the page to have the 3rd history point loaded. The user can then navigate back and forth between the 3 languages of Hello World. <%@ Page Language="C#" %> Also note that this is new functionality in the 3.5 SP1 release-- the server control syntax will cause a compilation error in earlier frameworks. Finally, a shameless plug: I've got more details on history management as well as the rest of the AJAX library in my new book, available later this year: Developing Service-Oriented AJAX Applications (Microsoft Press 2008). August 08 .NET 3.5 Service Pack 1The .NET 3.5 Service Pack 1 RTM release is now available through the SQL Server 2008 install media, available on MSDN. Be sure to uninstall any previous 3.5 SP1 betas before installing it. I've already implemented the new JavaScript history manager support into our product, which I'll blog about shortly. August 01 The Cuil Search Engine |
|
|