Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
5-я бд.docx
Скачиваний:
4
Добавлен:
15.04.2019
Размер:
24.86 Кб
Скачать

2.4. Страница оформления заказов

Позволяет авторизованному пользователю просмотреть свою электронную карзину, а также модифицировать её, подтвердить заказ и получить уведомление по электронной почте.

<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">

</asp:ScriptManager>

<div style="float: left">

<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

<h2>

Your oders</h2>

<asp:GridView ID="GridView1" runat="server" AutoGenerateDeleteButton="true" OnRowDeleting="GridView1_RowDeleting">

</asp:GridView>

<br />

<asp:Label ID="PriceLabel" runat="server"></asp:Label>

<br />

<br />

<asp:Button ID="BackButton" runat="server" Text="Back to shop" OnClick="BackButton_Click" />

</div>

<div style="float: left; height: 50px; width: 200px">

</div>

<div style="float: left; height: 77px;">

<h2>

<br />

Enter your requisits to confirm an order</h2>

<table class="style1">

<tr>

<td class="style2">

City

</td>

<td class="style3">

<asp:TextBox ID="TextBoxCity" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td class="style2">

Address

</td>

<td class="style3">

<asp:TextBox ID="TextBoxAddress" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td class="style2">

Phone

</td>

<td class="style3">

<asp:TextBox ID="TextBoxPhone" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td class="style2">

Pay Type

</td>

<td class="style3">

<asp:DropDownList ID="DDListPayType" runat="server">

<asp:ListItem Value="Select one..."></asp:ListItem>

<asp:ListItem Value="Cash"></asp:ListItem>

<asp:ListItem Value="Bank card"></asp:ListItem>

<asp:ListItem Value="PayPal"></asp:ListItem>

<asp:ListItem Value="WebMoney"></asp:ListItem>

<asp:ListItem Value="e-gold"></asp:ListItem>

<asp:ListItem Value="Yandex.Money"></asp:ListItem>

<asp:ListItem Value="another.."></asp:ListItem>

</asp:DropDownList>

</td>

</tr>

<tr>

<td class="style2">

Type of delivery

</td>

<td class="style3">

<asp:DropDownList ID="DDListDelivery" runat="server">

<asp:ListItem Value="Select one..."></asp:ListItem>

<asp:ListItem Value="Mail"></asp:ListItem>

<asp:ListItem Value="Messanger service"></asp:ListItem>

</asp:DropDownList>

</td>

</tr>

<tr>

<td class="style2">

 

</td>

<td class="style3">

 

</td>

</tr>

<tr>

<td class="style2">

 

</td>

<td class="style3">

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">

<ContentTemplate>

<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Buy it!" />

</ContentTemplate>

</asp:UpdatePanel>

</td>

</tr>

<tr>

<td class="style2">

<asp:Label ID="ErrorLabel" runat="server"></asp:Label>

</td>

<td class="style3">

 

</td>

</tr>

</table>

</div>

<asp:UpdateProgress ID="UpdateProgress1" runat="server">

<ProgressTemplate>

<div style="width: 300px; padding: 30px; position: absolute; left: 70%; top: 20%;

background-color: #f0f0f0">

On your mail has been posted letter which include some information about order...

</div>

</ProgressTemplate>

</asp:UpdateProgress>

Страница также содержит компоненты Microsoft AJAX.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]