<%@ Page Language="vb" AutoEventWireup="false"  %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link rel="stylesheet" type="text/css" href="styles.css" />
    <script src="scripts.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <script type="text/javascript">
        function pageLoad() {
            numericTextBox1 = $find("<%=RadNumericTextBox1.ClientID%>");
            numericTextBox2 = $find("<%=RadNumericTextBox2.ClientID%>");
            numericTextBox3 = $find("<%=RadNumericTextBox3.ClientID%>");
            resultTextBox = $find("<%=resultTextBox.ClientID%>");
        }
    </script>
    <div class="demo-containers">
        <div class="demo-container wrapper">
            <div class="demo-container demo-content">
                <asp:Label ID="Label1" runat="server" Text="Units:" Width="100px"></asp:Label>
                <telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="RadNumericTextBox1" Width="190px" Value="1" EmptyMessage="Enter units count" MinValue="0" ClientEvents-OnValueChanged="demo.valueChanged" ShowSpinButtons="true" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox><br />
                <br />
                <asp:Label ID="Label2" runat="server" Text="Price:" Width="100px"></asp:Label>
                <telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="RadNumericTextBox2" Width="190px" Value="10" EmptyMessage="Enter unit price" Type="Currency" MinValue="0" ClientEvents-OnValueChanged="demo.valueChanged"></telerik:RadNumericTextBox><br />
                <br />
                <asp:Label ID="Label3" runat="server" Text="Discount:" Width="100px"></asp:Label>
                <telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="RadNumericTextBox3" Width="190px" Value="15" EmptyMessage="Enter discount" Type="Percent" MinValue="0" MaxValue="100" ClientEvents-OnValueChanged="demo.valueChanged"></telerik:RadNumericTextBox><br />
                <br />
                <hr />
                <br />
                <asp:Label ID="Label4" runat="server" Text="Total:" Width="100px"></asp:Label>
                <telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="resultTextBox" Value="8.50" Type="Currency" Width="190px" ReadOnly="true" Enabled="false" DisabledStyle-BackColor="Transparent"></telerik:RadNumericTextBox>
            </div>
        </div>
    </div>
    </form>
</body>
</html>