aspclassiccompiler/aspclassiccompiler/AzureStoreAsp/AzureStore/Views/Home/Checkout.aspx
dotneteer 0d53978379 5.3.32871 AzureStoreAsp sample initial release
--HG--
extra : convert_revision : svn%3Aa83551a4-30f6-4d81-a974-c6ced450ddbf%4030945
2009-10-25 23:23:01 +00:00

19 lines
857 B
Text

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<string>>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Azure Store Check Out
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Your Order</h1>
<label for="cart">You have selected the following products:</label>
<% using (Html.BeginForm("Remove", "Home")) { %>
<select name="selectedItem" class="product-list" id="items" size="4">
<% foreach (string product in ViewData.Model)
{ %>
<option value="<%=product%>"><%=product%></option>
<% } %>
</select>
<a href="javascript:document.forms[0].submit();">Remove product from cart</a>
<% } %>
</asp:Content>