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. Advertising

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:
    661
    Chris Uppal
    Oct 1, 2006
  2. cyberco
    Replies:
    6
    Views:
    694
    John Machin
    Nov 20, 2006
  3. Jason Cavett

    Preferred Size, Minimum Size, Size

    Jason Cavett, May 23, 2008, in forum: Java
    Replies:
    5
    Views:
    12,586
    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:
    294
    Phil Carmody
    Oct 3, 2009
  5. Skybuck Flying

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

    Skybuck Flying, Oct 4, 2009, in forum: C Programming
    Replies:
    1
    Views:
    707
    Skybuck Flying
    Oct 4, 2009
Loading...

Share This Page