Solved

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

Posted on 2013-05-13
5
368 Views
Last Modified: 2013-05-22
How can I upload a file without using upload control ajax control toolkit in asp.net
0
Comment
Question by:VBdotnet2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 39162065
Have you tried just the regular asp fileupload control?

FileUpload1.SaveAs(Server.MapPath("~/Files/" & filename).ToString)
0
 

Author Comment

by:VBdotnet2005
ID: 39162159
Like this  <input id="FileInput" runat="server" type="file" /> ?
0
 
LVL 25

Accepted Solution

by:
Ron Malmstead earned 500 total points
ID: 39162350
Like this..

<asp:FileUpload ID="FileUpload1" runat="server" />
0
 

Author Comment

by:VBdotnet2005
ID: 39162859
This object is different from file upload control ajax control toolkit, correct? I want to use without it.
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 39163032
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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question