[Mono-bugs] [Bug 689496] New: Unremovable tab char when using TextBox with multiline mode in an UpdatePanel

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 24 13:33:07 EDT 2011



           Summary: Unremovable tab char when using TextBox with multiline
                    mode in an UpdatePanel
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: sky.rage at yahoo.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other
           Blocker: No

Description of Problem:

When using a TextBox control with multiline as textmode in an UpdatePanel, a
new line and a tab is rendered, which results in a tab as default value that
isn't removable.

Example code:
<%@ Language="C#" %>
<form runat="server">
    <asp:ScriptManager id="scriptmanager" runat="server" />
            <div id="test" >
<asp:UpdatePanel id="updatepanel" runat="server">
        <asp:TextBox ID="blah" TextMode="Multiline" runat="server" />

Actual Results:
<textarea cols="20" rows="2" name="ctl01$blah" id="ctl01_blah">

Expected Results:
<textarea cols="20" rows="2" name="ctl01$blah" id="ctl01_blah"></textarea> 

How often does this happen? 
Always when using a TextBox control in an UpdatePanel with multiline mode

Additional Information:
I think this bug is a consequence of this commit:

Where a new line is added when NET_4_0 is true. (See line 213)


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list