TheunisP
Posts: 342
|
| Posted: 09/02/2005, 8:44 PM |
|
I also get this error anyone found a solution on how we can modify the many 2 many examples to work with a file upload component?
>> I'm trying to take a page with the upload component and add a checkbox list using the multi-select checkbox list code from the example pack, however, i keep getting the error " Cannot use Request.Form collection after calling BinaryRead."
|
 |
 |
DonB
|
| Posted: 09/03/2005, 7:02 AM |
|
You'll probably have to put the file upload into a separate
operation/submit. Either that or figure out how the data is stored (it's a
byte-array) in the BinaryRead, so you can pick it apart inyour code. That is
impossible for me to give any direction as it depends on the form you've
built, the upload component you use and possibly other factors.
The ASP/VBscript upload alternative might circumvent this dilemma vs. using
one of the ActiveX upload components.
--
DonB
http://www.gotodon.com/ccbth
"TheunisP" <TheunisP@forum.codecharge> wrote in message
news:643191c0adc3d3@news.codecharge.com...
> I also get this error anyone found a solution on how we can modify the
many 2
> many examples to work with a file upload component?
>
> >> I'm trying to take a page with the upload component and add a checkbox
list
> using the multi-select checkbox list code from the example pack, however,
i
> keep getting the error " Cannot use Request.Form collection after calling
> BinaryRead."
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 09/05/2005, 12:06 AM |
|
Please try changing line 64 in the
ManyToManyCheckbox_events.asp file
From:
ProjectList = Split(Request.Form("ProjectList"),",")
To:
ProjectList = Split(CCGetFromPost("ProjectList", ""),",")
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|