<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="uc1"  Src="~/WebUserControl.ascx" TagName="brandvisit"  %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

    <asp:DetailsView ID="DetailsView1" AllowPaging="true" runat="server" GridLines="None" Width="100%"  
         Font-Italic="true" AutoGenerateRows="false">
        <Fields>
            <asp:TemplateField>
                <ItemTemplate>
                    Cases are  <%# Convert.ToDecimal(Eval("casesOrdered")) %>
                    <uc1:brandvisit runat="server" id="brandVisit" casesordered='<%# Eval("casesOrdered") %>' />
                </ItemTemplate>
            </asp:TemplateField>
        </Fields>
    </asp:DetailsView>   
</asp:Content>
