1 <%@ Page Language="C#" MasterPageFile="~/MasterPages/SamplePageWithCode.master"
2 AutoEventWireup="true" CodeFile="01_NoExperience.aspx.cs"
3 Inherits="_03_UpdateProgress_01_NoExperience"
4 Title="UpdateProgress 01: No User Experience" %>
5
6 <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
7 <asp:TextBox ID="CustomerSearch" runat="server"></asp:TextBox>
8 <asp:Button ID="SearchButton" runat="server" Text="Search" />
9 <atlas:AutoCompleteExtender ID="AutoComplete" runat="server">
10 <atlas:AutoCompleteProperties Enabled="true" ServiceMethod="GetCustomerAbbr" ServicePath="~/CustomerService.asmx"
11 TargetControlID="CustomerSearch" />
12 </atlas:AutoCompleteExtender>
13 <br />
14 Showing no rich user experience today, sort or page the GridView and you are given
15 no feedback (unless you pay attention to the browser) that something is happening.<br />
16 <br />
17 <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="NWindDb" PageSize="5"
18 OnSorting="GridView1_Sorting">
19 </asp:GridView>
20 <asp:SqlDataSource ID="NWindDb" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindDb %>"
21 SelectCommand="SELECT [CustomerID], [CompanyName], [ContactName], [Country] FROM [Customers]">
22 </asp:SqlDataSource>
23 </asp:Content>
24
|