This is a migrated thread and some comments may be shown as answers.

NumericTextBox is not rejecting letters

3 Answers 59 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Gilberto
Top achievements
Rank 1
Veteran
Gilberto asked on 04 Feb 2021, 01:36 AM

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>

 

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 08 Feb 2021, 05:11 PM

Hi Gilberto,

I tested the provided snippet, but the Numeric textbox configured in it does not allow me type any letters in its input. Can you, please, provide some more details on the specific scenario in which the problem occurs?

  • Can you confirm that you are using the 2021.1.119 version of the controls?
  • Are you facing the issue in all browsers or just in a specific one?
  • If the problem occurs only in IE, can you make sure that it is not running in Compatibility mode (which is not supported)?
  • Can you disable the AJAX on the page (if any) and see what the result will be?

If none of the above helps in finding the root of the problem, please, send me a small project where I can replicate the issue and examine the exact setup leading to it (including the related master page wrappers).

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Gilberto
Top achievements
Rank 1
Veteran
answered on 08 Feb 2021, 05:42 PM
You are right. It only happens in firefox... Im gonna try to find out the reason.
0
Vessy
Telerik team
answered on 09 Feb 2021, 02:38 PM

Hi,

Sure, Gilberto, take you time for testing and let me know if I can help you further on this matter.

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
NumericTextBox
Asked by
Gilberto
Top achievements
Rank 1
Veteran
Answers by
Vessy
Telerik team
Gilberto
Top achievements
Rank 1
Veteran
Share this question
or