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

Numeric TextBox Enabled="false" display problem

4 Answers 83 Views
Input
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 11 Sep 2012, 05:19 PM
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.

4 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 14 Sep 2012, 11:41 AM
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.
0
Phil H.
Top achievements
Rank 2
answered on 21 Sep 2012, 07:30 PM
Hi:

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

Phil
0
Phil
Top achievements
Rank 2
answered on 27 Sep 2012, 07:42 PM
Hi:

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

Phil
0
Phil
Top achievements
Rank 2
answered on 06 Oct 2012, 08:08 PM
Hi:

I had to switch to read-only.

Phil
Tags
Input
Asked by
Phil
Top achievements
Rank 2
Answers by
Martin
Telerik team
Phil H.
Top achievements
Rank 2
Phil
Top achievements
Rank 2
Share this question
or