Customvalidator to test file input size

Discussion in 'ASP .Net' started by Greg, Feb 3, 2006.

  1. Greg

    Greg Guest

    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!
     
    Greg, Feb 3, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tiewknvc9
    Replies:
    6
    Views:
    920
    Chris Uppal
    Oct 1, 2006
  2. cyberco
    Replies:
    6
    Views:
    824
    John Machin
    Nov 20, 2006
  3. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    13,474
    Michael Jung
    May 25, 2008
  4. Keith Thompson

    Re: File Size - Big File Size

    Keith Thompson, Oct 1, 2009, in forum: C Programming
    Replies:
    6
    Views:
    511
    Phil Carmody
    Oct 3, 2009
  5. Michael Tsang

    Re: File Size - Big File Size

    Michael Tsang, Oct 4, 2009, in forum: C Programming
    Replies:
    2
    Views:
    513
    Keith Thompson
    Oct 4, 2009
  6. Skybuck Flying

    Call oddities: &Test() vs &Test vs Test

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    1,055
    Skybuck Flying
    Oct 4, 2009
  7. Nobody

    Re: File Size - Big File Size

    Nobody, Oct 5, 2009, in forum: C Programming
    Replies:
    10
    Views:
    2,432
    Flash Gordon
    Oct 10, 2009
  8. John Joyce
    Replies:
    2
    Views:
    251
    John Joyce
    Apr 27, 2007
Loading...