Still haven't solved it, allthough I have been able to insert text larger
than 32,700 characters on an IE browser. But then again, this says nothing
of the "standard" agreement of the maxlength of a textarea, does it??
The whole idea about letting the user insert stuff throgh the browser
interface, was to get rid of the numerous uploaded documents......... ;-)
Another solution might be to split the data client side, and then post it
through various controls / textboxes etc. Haven' t tried that yet, though.
At 02:22 PM 9/21/2000 -0400, you wrote:
>I think TEXTAREAs capacity is 32,700. Probably you are getting that error
>because we are exceeding the capacity of the HTML element.
>What I would do is if the text is very long then I would ask the users to
>upload the file itself instead of copying and pasting the text in the form
>Hope this helps.
>Please let us know if you solved this problem. I am curious to know. Thanks.
>>From: Imar Spaanjaars <Imar@S...>
>>Reply-To: "Code Clinic" <proasp_codeclinic@p...>
>>To: "Code Clinic" <proasp_codeclinic@p...>
>>Subject: [proasp_codeclinic] Maxlength of a string for certain functions
>>Date: Tue, 19 Sep 2000 14:14:05 -0700
>>Is anybody aware of a maximum length of a string for the ASP replace and
>>If I try to submit a textarea with over 100,000 characters (I know, this is
>>quite a lot) and then use a replace function and the trim function on it I
>>receive a very vague error:
>>This my code:
>> ' I trim if necessary, and replace all single ' with doubles
>> sContractContents =
>> Trim(Replace(Request.Form("txtContractContents"), "'",
>>"''")) & ""
>>txtContractContents is a textarea created by the following HTML
>> <TEXTAREA ROWS="8" COLS="65" ID="txtContractContents"
>>I can't find any max length rule for strings or textareas or ASP functions.
>>The users might copy and paste very long documents in a textarea (100,000
>>characters is "only" around 45 pages) so I am trying to find out what
>>length I can still allow.
>>Suggestions are very welcome.