input type=file customisation

Discussion in 'ASP .Net' started by Ersin Gençtürk, Jul 8, 2004.

  1. hi ,

    I need to customize <input type=file , tag.

    I find a way to do that : on the client side by javascript and css first , I
    am hiding the fileupload object , then I am calling the click event of
    fileupload object.This opens the select files dialog box of file upload and
    user will be able to select the file that he wants to upload.But it seems
    that internet explorer does not allow uploading files selected by using this
    method.Because when the user clicks submit button.It resets the selected
    filename in the file upload tag.But I know that it works (for example
    google's new mail service : gmail works like this) what am I missed ? is
    anybody knows how to do this ?
    Ersin Gençtürk, Jul 8, 2004
    #1
    1. Advertising

  2. Ersin Gençtürk

    Joe Fawcett Guest

    "Ersin Gençtürk" <> wrote in message
    news:...
    > hi ,
    >
    > I need to customize <input type=file , tag.
    >
    > I find a way to do that : on the client side by javascript and css first ,
    > I
    > am hiding the fileupload object , then I am calling the click event of
    > fileupload object.This opens the select files dialog box of file upload
    > and
    > user will be able to select the file that he wants to upload.But it seems
    > that internet explorer does not allow uploading files selected by using
    > this
    > method.Because when the user clicks submit button.It resets the selected
    > filename in the file upload tag.But I know that it works (for example
    > google's new mail service : gmail works like this) what am I missed ? is
    > anybody knows how to do this ?
    >
    >

    Can't you examine Google's code then? File upload is subject to a lot of
    restrictions to prevent any chance of uploading a file without the user's
    full knowledge and permissions.

    --

    Joe
    Joe Fawcett, Jul 10, 2004
    #2
    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. RedGrittyBrick
    Replies:
    0
    Views:
    440
    RedGrittyBrick
    Apr 23, 2005
  2. Stuart Ferguson

    GridView Pager Customisation

    Stuart Ferguson, May 18, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    393
    Stuart Ferguson
    May 19, 2007
  3. bisuvious

    popupmenu customisation

    bisuvious, Jun 17, 2007, in forum: C++
    Replies:
    2
    Views:
    309
    bisuvious
    Jun 17, 2007
  4. Matt Adamson
    Replies:
    0
    Views:
    111
    Matt Adamson
    Jan 29, 2007
  5. Naveen
    Replies:
    0
    Views:
    78
    Naveen
    Feb 21, 2006
Loading...

Share This Page