Click here to Skip to main content
15,881,380 members
Articles / Web Development / ASP.NET

ASP.NET/AJAX 3.5 With Aquarium Express

Rate me:
Please Sign up or sign in to vote.
3.60/5 (7 votes)
18 Sep 2008Ms-PL12 min read 35.7K   954   29  
Learn to build modern AJAX and ASP.NET 3.5 applications with free Aquarium Express Framework
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Order.aspx.cs" Inherits="Forms_Order" Title="Order Details" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Header1Placeholder" runat="Server">
    Order Details
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Header2Placeholder" runat="Server">
    Northwind
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="BodyPlaceholder" runat="Server">
    <div id="Order" runat="server" class="Order" />
    <aquarium:DataViewExtender ID="OrderExtender" runat="server" Controller="Orders"
        View="editForm1" TargetControlID="Order" ShowActionBar="false" />
    <div id="Details" runat="server" />
    <aquarium:DataViewExtender ID="DetailsExtender" runat="server" Controller="OrderDetails"
        View="grid1" TargetControlID="Details" />
    <!-- templates -->
    <div id="Orders_editForm1" style="display: none">
        <table style="width: 100%">
            <tr>
                <td colspan="3">
                    <table style="width: 100%; border: solid 1px silver;">
                        <tr>
                            <td style="font-weight: bold">
                                {OrderID}
                            </td>
                            <td style="font-weight: bold">
                                {CustomerID}
                            </td>
                            <td style="font-weight: bold">
                                {EmployeeID}
                            </td>
                            <td style="font-weight: bold">
                                {ShipVia}
                            </td>
                            <td style="font-weight: bold">
                                {Freight}
                            </td>
                            <td style="font-weight: bold">
                                {ItemsTotal}
                            </td>
                            <td style="font-weight: bold">
                                {OrderTotal}
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <div>
                        {OrderDate}</div>
                    <div>
                        {RequiredDate}</div>
                    <div>
                        {ShippedDate}</div>
                </td>
                <td valign="top">
                    <div>
                        {ShipName}</div>
                    <div>
                        {ShipAddress}</div>
                    <div>
                        {ShipCity}</div>
                </td>
                <td valign="top">
                    <div>
                        {ShipRegion}</div>
                    <div>
                        {ShipPostalCode}</div>
                    <div>
                        {ShipCountry}</div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Organisation

1 members

Comments and Discussions