Strange behavior with multiline textbox and opera

G

Guest

Hi,

I have a filled multiline textbox on the site. I can scroll it with IE and
Firefox, but under Opera (tested under 7.54, and Opera 8, under "identify as
MSIE" and under Opera identification) , I'm getting a strange behavior: When
I try to scroll, the text doesn't move. It only moves to a new position, if I
move the scroll marks, and then click on a empty place of the website.

There is nothing on the site, just the textbox.

Win 2000, SP4, with the Rollup.
..net 1.1 with SP1, VS 2003


HTML Code: (in VS)

<%@ Page language="c#" Codebehind="WebForm2.aspx.cs" AutoEventWireup="false"
Inherits="test.WebForm2" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm2</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 264px; POSITION:
absolute; TOP: 144px"
runat="server" TextMode="MultiLine" Columns="7" Rows="5"></asp:TextBox>
</form>
</body>
</HTML>


-------

Codebehind source:

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace test
{
public class WebForm2 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.TextBox TextBox1;

private void Page_Load(object sender, System.EventArgs e)
{


TextBox1.Text = "aaaaaaaaaaaaaaaaaaa aaaaaaaaaaaa aaaaa3aaaaaaaaaa
aaaa2aaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaa aaaaaaaaa aaaaa
aaaaaaa aaaaaaaaaa aaaaaaaaaaaaa aaaaaa aaa aa aaaaaaa aaaa aaaaa aaaaaaaaa
aaaa aaaa aaaaaa1";
}


override protected void OnInit(EventArgs e)
{

InitializeComponent();
base.OnInit(e);
}


private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
}
}



The full html code, as seen in the browser:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm2</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form name="Form1" method="post" action="WebForm2.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE"
value="dDw3MzU1MTQ5MzY7Oz6cp+rVGc59N2sOQvSF44tcawNFaA==" />

<textarea name="TextBox1" rows="5" cols="7" id="TextBox1" style="Z-INDEX:
101; LEFT: 264px; POSITION: absolute; TOP: 144px">aaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaa aaaaa3aaaaaaaaaa aaaa2aaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaa aaaaaaaaa aaaaa aaaaaaa aaaaaaaaaa aaaaaaaaaaaaa aaaaaa
aaa aa aaaaaaa aaaa aaaaa aaaaaaaaa aaaa aaaa aaaaaa1</textarea>
</form>
</body>
</HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top