RadTextBox error when setting label and width (em) value

1 posts, 0 answers
  1. Danny
    Danny avatar
    29 posts
    Member since:
    Feb 2012

    Posted 09 May 2012 Link to this post


    I just came across what seems to be a bug in RadTextBox. When setting the Label with a text (no matter what) and setting the width to a ##em value, an error gets throw. This error does not occur when setting the width in ##px, ##% or just ##, only when "em" is used.

    This is the example page I used:

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Dashboard.Website.controls.WebForm1" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <form id="form1" runat="server">
          <asp:ScriptManager runat="server" />
          <telerik:RadTextBox runat="server" ID="txt"  Label="test" Width="12em" />

    I've also included a screenshot of the error that is thrown.

    Could someone confirm that this is a problem or tell me what I'm doing wrong?

Back to Top