Numeric TextBox Enabled="false" display problem

5 posts, 0 answers
  1. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 11 Sep 2012 Link to this post

    Hi

    View code:
    <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="TestForm1.aspx.vb" Inherits="MMPA.Expenses.TestForm1" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
          
        <telerik:RadNumericTextBox ID="npermilesTextBox" runat="server" Value='0'
            Width="90px" MaxValue="999" MinValue="0" Type="Number"
            NumberFormat-DecimalDigits="0" AllowOutOfRangeAutoCorrect="false"
            EnabledStyle-HorizontalAlign="Right" DataType="System.Int32" Enabled="false">
        </telerik:RadNumericTextBox>
    </asp:Content>
    Code behind:
    Imports Telerik.Web.UI
    Public Class TestForm1
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            npermilesTextBox.Text = "0"
        End Sub
    End Class
    Problem must have code behind and enable set to false.  See image:

    Phil
    P.S. The problem seems to be in IE rendering.  No problem in FF.
  2. Martin
    Admin
    Martin avatar
    811 posts

    Posted 14 Sep 2012 Link to this post

    Hello Phil,

    I am not able to replicate the issue with the latest version of the controls. Could you please verify the exact version of the controls you are using.

    Greetings,
    Martin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 21 Sep 2012 Link to this post

    Hi:

    I have downloaded the latest version, and it appears to be fixed in it.

    Phil
  5. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 27 Sep 2012 Link to this post

    Hi:

    I have updated my solution with an newer version of the controls and the problem disappeared.  Bug in earlier controls.

    Phil
  6. Phil
    Phil avatar
    273 posts
    Member since:
    Jul 2008

    Posted 06 Oct 2012 Link to this post

    Hi:

    I had to switch to read-only.

    Phil
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017