Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: I hope the whole week isn't going to go like this PinprotectorMarc Clifton31-Mar-14 2:05 
GeneralRe: I hope the whole week isn't going to go like this PinmemberMohamad M. Mohamad31-Mar-14 3:08 
GeneralRe: I hope the whole week isn't going to go like this PinmemberS u n s h i n e31-Mar-14 3:22 
GeneralRe: I hope the whole week isn't going to go like this PinprotectorOriginalGriff31-Mar-14 4:30 
GeneralRe: I hope the whole week isn't going to go like this PinmemberMohamad M. Mohamad31-Mar-14 19:54 
GeneralRe: I hope the whole week isn't going to go like this PinpremiumBillWoodruff31-Mar-14 7:07 
GeneralRe: I hope the whole week isn't going to go like this PinprotectorOriginalGriff31-Mar-14 7:58 
GeneralFile upload validation in asp.net mvc PinprofessionalShaik Akram31-Mar-14 0:27 
<input type="file" data-val="true" data-val-required="please select a file" name="file"/>
@Html.ValidationMessage("file")
 
Hello every one,
thought it might help any one so I am posting this small code for validating file upload control to check whether the user has selected the file or not.
 
Here there is no any kind of filtering with file choosen to upload.just only validating the user to select the file.
 

Thanks
GeneralRe: File upload validation in asp.net mvc Pinpremium_Maxxx_31-Mar-14 0:29 
GeneralRe: File upload validation in asp.net mvc PinpremiumJohnny J.31-Mar-14 0:34 
GeneralRe: File upload validation in asp.net mvc PinprotectorOriginalGriff31-Mar-14 0:40 
GeneralRe: File upload validation in asp.net mvc PinmemberS u n s h i n e31-Mar-14 1:03 
GeneralRe: File upload validation in asp.net mvc PinprotectorOriginalGriff31-Mar-14 1:07 
GeneralRe: File upload validation in asp.net mvc PinprotectorMarco Bertschi31-Mar-14 1:09 
GeneralRe: File upload validation in asp.net mvc PinmemberS u n s h i n e31-Mar-14 3:25 
GeneralRe: File upload validation in asp.net mvc PinpremiumBobJanova31-Mar-14 1:11 
GeneralRe: File upload validation in asp.net mvc PinprotectorOriginalGriff31-Mar-14 1:15 
GeneralRe: File upload validation in asp.net mvc Pinmemberlukeer31-Mar-14 1:42 
JokePower over IP PinprotectorMarco Bertschi30-Mar-14 23:09 
GeneralRe: Power over IP PinprofessionalRage30-Mar-14 23:14 
GeneralRe: Power over IP PinprotectorMarco Bertschi30-Mar-14 23:15 
GeneralRe: Power over IP PinprofessionalRage30-Mar-14 23:16 
GeneralRe: Power over IP PinpremiumBobJanova31-Mar-14 1:10 
GeneralRe: Power over IP PinmvpSergey Alexandrovich Kryukov9-Apr-14 12:37 
GeneralRe: Power over IP PinpremiumKornfeld Eliyahu Peter30-Mar-14 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 29 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid