Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > changing input type file

Reply
Thread Tools

changing input type file

 
 
Gladriel
Guest
Posts: n/a
 
      05-17-2004
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?
 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      05-17-2004
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
http://blogs.aspadvice.com/joteke




"Gladriel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to restrict user from input in <input type="file"> Tarkeshwar Javascript 2 04-17-2006 11:44 AM
Changing input type in IE? cjl Javascript 5 10-18-2005 08:41 PM
changing input.type error with IE Michael Winter Javascript 2 10-14-2004 05:12 PM
Changing Input Type, length and value Boyd Reilly Javascript 4 01-13-2004 12:49 PM
HowTo Send Uploaded File with INPUT Type file to Sql Server Image Data Type Roberto ASP General 3 10-18-2003 06:56 AM



Advertisments