CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Deploying Windows Server 2008 with System Center
  • Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7
  • The Microsoft Dynamics CRM Security Model
  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Scripting - Client Side
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Scripting - Client Side Discuss client-side scripting issues. Client-side scripting such as JavaScript, JScript, and VBScript as well as technologies such as HTML and stylesheets.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old September 30th, 2009, 02:35 PM
    Jim Bassett Jim Bassett is offline
    Member +
     
    Join Date: May 1999
    Location: Fort Worth Texas
    Posts: 602
    Jim Bassett is on a distinguished road (10+)
    Question Text pasted into Edit box overflows when using IE6, IE7, or IE8

    The small attached HTML file demos a problem when pasting an amount of text longer than the edit box. There is example text to copy and paste into the suppled edit box and you will see the edit box expands to the rigth and covers a icon. This happens in IE 6 - IE8 on Win XP, 2000, Vista(haven't tried it on Win 7). This does not occur with FF.
    Attached Files
    File Type: zip ASB-CX-1_1 Engagement Acceptance Form.zip (1.4 KB, 21 views)

    Last edited by Jim Bassett; September 30th, 2009 at 02:38 PM.
    Reply With Quote
      #2    
    Old October 2nd, 2009, 08:16 AM
    HanneSThEGreaT's Avatar
    HanneSThEGreaT HanneSThEGreaT is offline
    The Unstable Mod
    Power Poster
     
    Join Date: Jul 2001
    Location: Vereeniging, South Africa
    Posts: 8,008
    HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+)
    Re: Text pasted into Edit box overflows when using IE6, IE7, or IE8

    Hi Jim!

    Rather post the applicable "wrong" code, instead of the whole solution with a short description.

    People may think you want them to do all the work for you, and that I don't want
    __________________
    My Latest Articles :
    Changing Mouse Settings with VB.NET || Creating Your Own Encryption / Decryption Program Using VB.NET 2005 || Autorun Menu Creator in VB.NET || Creating Your Own Tetris Game With VB.NET Part 1
    Find All My Articles : Here

    FAQs :
    .NET FrameWork FAQs || Visual Basic.NET FAQs || C# FAQs

    Be The Change That You Want To See In The World - Michael Scofield, Prison Break; Season 1 Episode 1

    Read This Before You Post || Acceptable Use Policy
    Reply With Quote
      #3    
    Old October 2nd, 2009, 11:04 AM
    Jim Bassett Jim Bassett is offline
    Member +
     
    Join Date: May 1999
    Location: Fort Worth Texas
    Posts: 602
    Jim Bassett is on a distinguished road (10+)
    Question Re: Text pasted into Edit box overflows when using IE6, IE7, or IE8

    Hanne, I attached the html so that one could actually see the problem happen but I should have pointed out the actual line of code involved. The actual line in question is the input box that the text is cut into:

    <input id="ee6989d66f60413eb808f652ad4489ff" blankid="ee6989d66f60413eb808f652ad4489ff" type="text" stepid="6b05726e37324f01b19281f6fe69b195" style="width: 85%;" />

    For some reason with the width set to a % then the pasted in text runs outside the box when first pasted in. if it is set to a fixed size the problem does not occur but the requirements do not allow a fixed size.
    Reply With Quote
      #4    
    Old October 3rd, 2009, 03:40 AM
    HanneSThEGreaT's Avatar
    HanneSThEGreaT HanneSThEGreaT is offline
    The Unstable Mod
    Power Poster
     
    Join Date: Jul 2001
    Location: Vereeniging, South Africa
    Posts: 8,008
    HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+) HanneSThEGreaT has a reputation beyond repute (3000+)
    Re: Text pasted into Edit box overflows when using IE6, IE7, or IE8

    Hello again Jim!

    I'm using IE 7 Windows XP ( the latest Service pack )

    What happened when I took a large amount of text and pasted it inside the TextBox in question, was that that the TextBox didn't expand, it didn't cover anything, The "Edit" button still stayed at the bottom of the TextBox. I do notice though, that there is no BR tag infront of the "Edit" button. Perhaps add it, and let the Edit button picture be displayed underneath the TextBox. I'm using a 17 inch monitor at 1024 x 768 resolution. I guess this must have something to do with the effects you describe ¿

    Hope my comments were useful
    __________________
    My Latest Articles :
    Changing Mouse Settings with VB.NET || Creating Your Own Encryption / Decryption Program Using VB.NET 2005 || Autorun Menu Creator in VB.NET || Creating Your Own Tetris Game With VB.NET Part 1
    Find All My Articles : Here

    FAQs :
    .NET FrameWork FAQs || Visual Basic.NET FAQs || C# FAQs

    Be The Change That You Want To See In The World - Michael Scofield, Prison Break; Season 1 Episode 1

    Read This Before You Post || Acceptable Use Policy
    Reply With Quote
      #5    
    Old October 5th, 2009, 10:09 AM
    Jim Bassett Jim Bassett is offline
    Member +
     
    Join Date: May 1999
    Location: Fort Worth Texas
    Posts: 602
    Jim Bassett is on a distinguished road (10+)
    Question Re: Text pasted into Edit box overflows when using IE6, IE7, or IE8

    Thank you Hanne

    All of the monitors here are 20 inch or bigger and each has different resolution settings. I will explore this further but since it works on yours and FireFox has no problems on our monitons I suspect it is a IE bug. The product requirements have the button just to the right of the box and they will not that requirement.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Scripting - Client Side


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 01:41 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.