Wrox Programmer Forums
|
ASP.NET 4.5 General Discussion For ASP.NET 4.5 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2013, 04:27 PM
Registered User
 
Join Date: Feb 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default MVC File Upload Helper

Please advise, in WebMatrix 2, I downloaded MVCFileUpload helper package
and tried to upload a file. Here is the diagnostic and the code fragment that caused it:

Line 1: using System.Collections.Generic;
Line 2: using System.Web.Mvc;
Line 3: using MvcFileUploader;
Line 4: using MvcFileUploader.Models;
Line 5:
Line 6: namespace .Controllers <<<< Identifier Expected >>>> Error
Line 7: {
Line 8: public class MvcUploaderTestController : Controller
Line 9: {
Line 10: //
Line 11: // GET: /MvcUploaderTest/Demo
Line 12:
Line 13: public ActionResult Demo()
Line 14: {
Line 15: return View();
Line 16: }
Line 17:
Line 18: public ActionResult UploadFile()


It never got to the code that asked for the file info.
Any suggestions?
 
Old March 21st, 2013, 10:13 PM
Registered User
 
Join Date: Mar 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://forums.asp.net/t/1612176.aspx/1--
you will learn something here





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validate File Format of File Upload to Database Not Working in Codefile in C#... dmacklin2010 BOOK: Beginning ASP.NET 2.0 and Databases 0 July 25th, 2011 12:24 PM
Errors while upgrade theBeerHouse mvc project form asp.net mvc 1.0 to 2.0 vanbach1304 BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 0 April 20th, 2010 06:43 AM
TheBeerHouse MVC preview ASP.NET MVC Website Programming Problem Design Solution jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 July 18th, 2009 09:16 AM
Clear the filepath details of File Upload Control after saving a file DineshGirij008 C# 2005 0 March 7th, 2009 03:52 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.