changing input type file

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default changing input type file

    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 Guest

  2. Similar Questions and Discussions

    1. Input type file on asp page
      Hi there Is there any way to se the default of a file asp (html) component to a specified directory on a network drive every time an instrnet asp...
    2. HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type
      I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"...
    3. HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type ?
      I have the following problem: I have the following form client side: <FORM.......> <FORM action="./WZUpload.asp" method="Post"...
    4. reading the input type=file tag with ie6 in asp
      I wanted to write a simple page to let me choose a directory and then list the files in it. The end goal was to make an easy way to copy all the...
    5. input type=file
      is it possible to define a default or start up directory with input type="file" field type? If so, is it also possible to filter by another...
  3. #2

    Default Re: changing input type file

    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
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist
    [url]http://blogs.aspadvice.com/joteke[/url]




    "Gladriel" <anonymous@discussions.microsoft.com> wrote in message
    news:BC2A652D-03E1-4590-822B-48E52F73AA9B@microsoft.com...
    > 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?

    Teemu Keiski Guest

  4. #3

    Default Re: changing input type file

    but for that you use image as a button no need to inherit TemplateSourceDirectory
    benjamin1greer is offline Junior Member
    Join Date
    Sep 2010
    Location
    1905 Willow Ave, Weehawken.
    Posts
    1

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139