Script Callbacks and Ajax in ASP.NET 2.0


Script Callbacks

  • Simple Callback
    Demonstrates the simplest of callbacks that is implemented entirely server side. This sample simply retrieves the time from the server and pops up an alert box with the result.

  • Invoice Lineitem Hover Window Popup
    Demonstrates how to create hover windows by popping up dynamic Html content on top of an existing page. This example shows Northwind invoice listing and pops up lineitems dynamically as you over over an invoice item.

  • Customer Invoice, LineItems Dynamic Dropdowns
    This example demonstrates a more complex scenario with multiple callbacks that are used to dynamically populate a set of list controols with content from the server.

 

wwHoverPanel

  • HoverPanel Control Invoice List Popup
    This demo shows a simplified Hover Panel control that makes it real easy to create 'popover' windows from the same or other HTML pages. A single script call handles all the details of retrieving the data and popping up the pop over window.

  • Simple JSON Object Messaging / Complex Objects
    These functional demonstrate the basics of how wwHoverPanel's ability to call [CallbackMethod] attributed methods of the page using JSON. This really simple mechanism creates a client class to match the server method signatures and allows calling those methods with very little code.

  • Northwind Customer List with JSON
  • This example demonstrates using the JSON Page methods to pass objects from the server to the client and back for displaying a customer list and editing customer information. Demonstrates loading tables, objects, and integrating client code with server business objects as well as handling exceptions.

Anthem

  • Anthem HelloWorld
    This example demonstrates the very basics of the Anthem control architecture.

  • Customer List Browser  (JSON Version)
    These two examples demonstrate using Anthem to display a customer listing of the Northwind Database using both Anthem controls and JSON to compare the approaches and code involved.

  • Web Chat
    This sample demonstrates some of Anthem's control and page based features in a Web Chat form that allows multiple browser windows to talk to each other with messages. Although not a very practical example, it demonstrates many of the core features of Anthem.

ATLAS

  • CustomerList with UpdatePanel
    This example demonstrates the ATLAS UpdatePanel and using traditional server side code to update page content without postbacks.

  • ATLAS Stock Portfolio
    This example combines server controls and client code to provide an interactive Stock Portfolio form. Look up stock quotes, add stocks to your portfolio and chart your portfolio all without full page postbacks.

  • Query with Progress information
    This sample demonstrates how to run a long running task and provide interactive feedback on the page. Uses a combination of ATLAS client JavaScript code and UpdatePanel to provide page updates.

  • ATLAS Chat
    This sample demonstrates using ATLAS's Web Service functionality with JavaScript code to create a fairly full featured chat application. In comparison to the Anthem chat, this verison pushes much less data over the wire, although it's still a very chatty interface.

West Wind © Rick Strahl, West Wind Technologies Configuration Help Sample Configuration