Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Customvalidator to test file input size

Reply
Thread Tools

Customvalidator to test file input size

 
 
Greg
Guest
Posts: n/a
 
      02-03-2006
I've been struggling to find a way to test file size prior to a user
uploading from an .aspx page. I have read hundreds of posts and help
documents, but haven't found a solution. I tried to create a custom
http handler to handle the application_beginrequest event, but wasn't
able to make that work correctly, so I thought about using a
customvalidator. My thought was to write a script on the page that
could be called from the validator control.

I don't seem to be getting anywhere with this...am I heading down the
wrong road?

(environment is framework 1.1)

Thanks for any help you can offer!

 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preferred Size, Minimum Size, Size Jason Cavett Java 5 05-25-2008 08:32 AM
fileinput.input('test.txt') => ERROR: input() already active cyberco Python 6 11-20-2006 11:29 AM
mega pixels, file size, image size, and print size - Adobe Evangelists Frank ess Digital Photography 0 11-14-2006 05:08 PM
How do I limit file size on <input type=file...>? Don HTML 12 03-19-2005 01:08 AM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM



Advertisments