Link to home
Start Free TrialLog in
Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

asked on

upload a file without using upload ajax control toolkit in asp.net

How can I upload a file without using upload control ajax control toolkit in asp.net
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Have you tried just the regular asp fileupload control?

FileUpload1.SaveAs(Server.MapPath("~/Files/" & filename).ToString)
Avatar of VBdotnet2005

ASKER

Like this  <input id="FileInput" runat="server" type="file" /> ?
ASKER CERTIFIED SOLUTION
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This object is different from file upload control ajax control toolkit, correct? I want to use without it.
I do not have ajax installed on the solution I provided the snippet from.., so yes.
If you look, under the standard toolbox, you should see it listed.  Fileupload control.