changing input type file

Discussion in 'ASP .Net Building Controls' started by Gladriel, May 17, 2004.

  1. Gladriel

    Gladriel Guest

    i would very very much like to change the browse button on the file upload to one of my own

    am i right in thinking if i create an inhertited control and overwrite its

    TemplateSourceDirectory (inherited from Control)

    can I point the control to a aspx page containing a textbox and my own button design?

    or should it point to some kind of web control page?
     
    Gladriel, May 17, 2004
    #1
    1. Advertisements

  2. Gladriel

    Teemu Keiski Guest

    Hi,

    the "browse" button with file upload control, is not changeable. After all,
    to upload something from browser, you need to use <input type="file">
    element (rendered to the browser) and with that it is up to the browser how
    it wants to display the Browse button.
     
    Teemu Keiski, May 17, 2004
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.