Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2005, 10:53 AM
Authorized User
 
Join Date: Dec 2004
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ALEX_GRIM
Default textbox cutting off text? but maxlength is 10,000?

hey, does anyone know why my textbox would be cutting off my text after about 650 characters when i have my maxlength at 10,000(that's just to trouble shoot)? i tried switching it to a plain html taextarea as well, and still got the same thing? it's not the db, because i can put it in the db manually and it accepts all text i put in, don't know where it would be???

GRIM@GRIMMUSIC.COM
WWW.GRIMMUSIC.COM
__________________
---------------------------
A Black sheep moves easy in the darkness.
GRIM@GRIMMUSIC.COM
WWW.GRIMMUSIC.COM
 
Old February 5th, 2005, 07:01 PM
Authorized User
 
Join Date: Dec 2004
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ALEX_GRIM
Default

NEVERMIND ON THIS ONE. IT'S BEEN FIGURED OUT. THANKS.

GRIM@GRIMMUSIC.COM
WWW.GRIMMUSIC.COM
 
Old February 5th, 2005, 07:28 PM
Friend of Wrox
 
Join Date: May 2003
Posts: 202
Thanks: 0
Thanked 1 Time in 1 Post
Default

It would be nice if you shared the solution in case anybody else runs into a similar problem.

Bruce Luckcuck
Director, Applications & Support Services
Wiley Publishing, Inc.
 
Old February 6th, 2005, 08:47 AM
Authorized User
 
Join Date: Dec 2004
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ALEX_GRIM
Default

yeah, you got a point. ok well in my case the problem was that my script was sooooooooooooooo long that when i alterd a lot of things on it to alloq for certain actions, i overlooked on little thing, a little part of the command parameter for that particular database entry:
**********************************************
CM.Parameters.ADD(NEW OleDbParameter("@COMMENT", OLEDBTYPE.VarChar,500 ))
CM.Parameters ("@COMMENT").VALUE =COMMENT.TEXT
************************************************
if you look, you'll see that even though my textbox's maxlength value was set at 10,000, my oledb command parameter was still at 500. lol my mistakeit's easy to over look thing when your page's get to be very long. thanks

GRIM@GRIMMUSIC.COM
WWW.GRIMMUSIC.COM





Similar Threads
Thread Thread Starter Forum Replies Last Post
upload more than 10.000 Documents (this is once ta soufiane1 C# 1 September 17th, 2008 03:44 PM
VB .Net TextBox MaxLength Mocha Visual Studio 2005 1 October 10th, 2007 08:35 AM
textbox MaxLength akumarp2p C# 2005 1 December 27th, 2006 06:31 AM
Cutting a character from a string arnabghosh Classic ASP Basics 2 August 18th, 2005 07:44 AM
textbox Maxlength problem ashu_gupta75 Classic ASP Basics 5 May 6th, 2004 03:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.