When I use numerictextbox demos and I try to enter letters, the objects rejects input, but when I use them in my project, the textbox allows user to enter letter and once it loses the focus it gets empty.
My Code
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage.Master" CodeBehind="Default.aspx.vb" Inherits="GadsWebApp._Default" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"head"
runat
=
"server"
>
<
style
type
=
"text/css"
>
body {
background-image: url('images/BackGrounds/default5.jpg');
background-repeat: no-repeat; background-size: 100%; background-color: transparent;width: 100%;
height: 100%; margin: 0px; position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px;
}
</
style
>
</
asp:Content
>
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"ContentPlaceHolderMain"
runat
=
"server"
>
<
telerik:RadNumericTextBox
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadNumericTextBox1"
Width
=
"190px"
Value
=
"15"
EmptyMessage
=
"Enter amount"
Type
=
"Currency"
MinValue
=
"0"
MaxValue
=
"100"
></
telerik:RadNumericTextBox
>
</
asp:Content
>