473,837 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange behavior with multiline textbox and opera

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="Web Form2.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="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.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="Multi Line" Columns="7" Rows="5"></asp:TextBox>
</form>
</body>
</HTML>
-------

Codebehind source:

using System;
using System.Collecti ons;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.Sess ionState;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;

namespace test
{
public class WebForm2 : System.Web.UI.P age
{
protected System.Web.UI.W ebControls.Text Box TextBox1;

private void Page_Load(objec t sender, System.EventArg s e)
{
TextBox1.Text = "aaaaaaaaaaaaaa aaaaa aaaaaaaaaaaa aaaaa3aaaaaaaaa a
aaaa2aaaaaaaaaa aa aaaaaaaaaaaaaaa aaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa
aaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaa aaaaaaaaaaaaaaa aa
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaa aaaaaaaaaaaaaaa aaaaaa aaaaaaaaa aaaaa
aaaaaaa aaaaaaaaaa aaaaaaaaaaaaa aaaaaa aaa aa aaaaaaa aaaa aaaaa aaaaaaaaa
aaaa aaaa aaaaaa1";
}
override protected void OnInit(EventArg s e)
{

InitializeCompo nent();
base.OnInit(e);
}
private void InitializeCompo nent()
{
this.Load += new System.EventHan dler(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="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" Content="C#">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form name="Form1" method="post" action="WebForm 2.aspx" id="Form1">
<input type="hidden" name="__VIEWSTA TE"
value="dDw3MzU1 MTQ5MzY7Oz6cp+r VGc59N2sOQvSF44 tcawNFaA==" />

<textarea name="TextBox1" rows="5" cols="7" id="TextBox1" style="Z-INDEX:
101; LEFT: 264px; POSITION: absolute; TOP: 144px">aaaaaaaa aaaaaaaaaaa
aaaaaaaaaaaa aaaaa3aaaaaaaaa a aaaa2aaaaaaaaaa aa aaaaaaaaaaaaaaa aaaaaaa
aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa aaa aaaaaaaaaaaaaaa aa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaa
aaaaaaaaaaaaaaa aaaaaa aaaaaaaaa aaaaa aaaaaaa aaaaaaaaaa aaaaaaaaaaaaa aaaaaa
aaa aa aaaaaaa aaaa aaaaa aaaaaaaaa aaaa aaaa aaaaaa1</textarea>
</form>
</body>
</HTML>

Nov 19 '05 #1
0 1685

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4054
by: Joel Finkel | last post by:
Folks, I have a form that has several TextBoxes, some of which have the TextMode set to MultiLine. Each is pre-loaded with data from a database. The user is allowed to modify each entry. The problem is that only the modified data from the SingleLine TextBoxes are returned. The original data are returned for the MultiLine TextBoxes. Also, if the page is sent to the server (for validation, for instance), only the modified data for the...
2
2497
by: Enzo Marinelli | last post by:
Hello everyone I have a MultiLine TextBox, as follows <asp:TextBo Id="StreetAddress Rows="4 Runat="Server TextMode="MultiLine Width="100%"/
8
2012
by: David | last post by:
This is something I had never seen before. On an aspx page, upon pressing a link button for which I have an event handler in the code behind, the screen shows nothing but a line that says "true" up in the right upper corner of the browser. I have an XP and had just installed XP Service Pack II...against my better judgment. Please help. Thanks.
2
1235
by: Maileen | last post by:
Hi, I have some strange behavior in my application. Let's say I have 2 buttons and 1 Textbox. 1. when i click on button1, it writes "hello world" in my textbox. i see it. 2. after that, i click on button2 to take the text of my textbox and do something with it. but instead of that, button2 returns me an empty
2
3435
by: Mike | last post by:
I am trying to write a little program for my own use using VB2005 express edition. I have a list of peoples names in a file that I read into an array of strings. I am using a multiline textbox to enter new, edit existing, and view the names in the array. This all works well, but now I want to be able to select one more names from the list displayed in the multiline textbox then click a button to copy the selected names into another list so...
2
1829
by: zacks | last post by:
I am developing an app in VS2005 (actually in VB.NET but this question, I believe, would apply to any .NET language) that is used to design the contents of an XML file. One of potential items that would be in this XML file is a String property that contains the code for a VBScript. I have a separate form just for editing this script that uses a single Textbox. This Textbox has the AcceptsReturn, AcceptsTab and Multiline properties all set...
7
15496
by: Anil Gupte | last post by:
I have read a lot about getting lines from a multiline textbox in VB.Net. However, I cannot for the life of me figure out how to write to a multiline textbox. Basically, I have created an array of strings which I want to "paste" into a multiline textbox. Any ideas? -- Anil Gupte www.keeninc.net www.icinema.com
2
5833
by: Nathan Sokalski | last post by:
I have a multiline TextBox that I want to display the text used to create a control in an apsx file. I want each of these to be on a separate line in the TextBox. The only way I know of to place things on separate lines in a TextBox without doing it programmatically is the following: <asp:TextBox ID="txtMultiLine" runat="server" TextMode="MultiLine"> Line 1 Line 2 Line 3 </asp:TextBox>
2
2644
by: sirdavethebrave | last post by:
Hi guys - I have written a form, and a stored procedure to update the said form. It really is as simple as that. A user can go into the form, update some fields and hit the update button to update the information which is stored in a SQL database. In testing we noticed that the form was updating correctly but the update mechanism was also updating the first record of the table in the sql database every time. No error messages are on...
0
9846
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10633
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9412
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7814
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7007
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5674
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4479
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4050
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3126
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.