Input File Control

R

Raja Balaji R

hi

is there is any asp.net server control for input file html
control.

thanks & regards
Raja Balaji R
 
J

John Smith Jr.

No, you must use HTML control.

Or build your own user control or purchase one possibly.
 
V

vMike

You can use the HtmlInputFile control and control it at the server-side as
follows. If you need to add it dynamically you can use Pls1.Controls.Add(New
LiteralControl("<input type='file' etc >"))


<input type=file
id="programmaticID"
accept="MIMEencodings"
maxlength="maxfilepathlength"
size="widthoffilepathtextbox"
postedfile="uploadedfile"
 
J

John Mason

I am using VS 2003 and the accept parameter neither comes up in intellisense
nor restricts the file types. Is this a bug?
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top