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

RadTextBox error when setting label and width (em) value

0 Answers 24 Views
Input
This is a migrated thread and some comments may be shown as answers.
Danny
Top achievements
Rank 1
Danny asked on 09 May 2012, 03:43 PM
Hi,

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">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:ScriptManager runat="server" />
      <telerik:RadTextBox runat="server" ID="txt"  Label="test" Width="12em" />
    </div>
    </form>
</body>
</html>

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?

Thanks!
Danny

No answers yet. Maybe you can help?

Tags
Input
Asked by
Danny
Top achievements
Rank 1
Share this question
or