CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Page with upload form and checkbox list - binaryread error

Print topic Send  topic

Author Message
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."

View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.