Click here to Skip to main content
15,891,431 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I hope the whole week isn't going to go like this Pin
Marc Clifton31-Mar-14 2:05
mvaMarc Clifton31-Mar-14 2:05 
GeneralRe: I hope the whole week isn't going to go like this Pin
Mohamad M. Mohamad31-Mar-14 3:08
Mohamad M. Mohamad31-Mar-14 3:08 
GeneralRe: I hope the whole week isn't going to go like this Pin
S u n s h i n e31-Mar-14 3:22
S u n s h i n e31-Mar-14 3:22 
GeneralRe: I hope the whole week isn't going to go like this Pin
OriginalGriff31-Mar-14 4:30
mveOriginalGriff31-Mar-14 4:30 
GeneralRe: I hope the whole week isn't going to go like this Pin
Mohamad M. Mohamad31-Mar-14 19:54
Mohamad M. Mohamad31-Mar-14 19:54 
GeneralRe: I hope the whole week isn't going to go like this Pin
BillWoodruff31-Mar-14 7:07
professionalBillWoodruff31-Mar-14 7:07 
GeneralRe: I hope the whole week isn't going to go like this Pin
OriginalGriff31-Mar-14 7:58
mveOriginalGriff31-Mar-14 7:58 
GeneralFile upload validation in asp.net mvc Pin
Shaik Akram31-Mar-14 0:27
professionalShaik 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 Pin
_Maxxx_31-Mar-14 0:29
professional_Maxxx_31-Mar-14 0:29 
GeneralRe: File upload validation in asp.net mvc Pin
Johnny J.31-Mar-14 0:34
professionalJohnny J.31-Mar-14 0:34 
GeneralRe: File upload validation in asp.net mvc Pin
OriginalGriff31-Mar-14 0:40
mveOriginalGriff31-Mar-14 0:40 
GeneralRe: File upload validation in asp.net mvc Pin
S u n s h i n e31-Mar-14 1:03
S u n s h i n e31-Mar-14 1:03 
GeneralRe: File upload validation in asp.net mvc Pin
OriginalGriff31-Mar-14 1:07
mveOriginalGriff31-Mar-14 1:07 
GeneralRe: File upload validation in asp.net mvc Pin
Marco Bertschi31-Mar-14 1:09
protectorMarco Bertschi31-Mar-14 1:09 
GeneralRe: File upload validation in asp.net mvc Pin
S u n s h i n e31-Mar-14 3:25
S u n s h i n e31-Mar-14 3:25 
GeneralRe: File upload validation in asp.net mvc Pin
BobJanova31-Mar-14 1:11
BobJanova31-Mar-14 1:11 
GeneralRe: File upload validation in asp.net mvc Pin
OriginalGriff31-Mar-14 1:15
mveOriginalGriff31-Mar-14 1:15 
GeneralRe: File upload validation in asp.net mvc Pin
lukeer31-Mar-14 1:42
lukeer31-Mar-14 1:42 
JokePower over IP Pin
Marco Bertschi30-Mar-14 23:09
protectorMarco Bertschi30-Mar-14 23:09 
GeneralRe: Power over IP Pin
Rage30-Mar-14 23:14
professionalRage30-Mar-14 23:14 
GeneralRe: Power over IP Pin
Marco Bertschi30-Mar-14 23:15
protectorMarco Bertschi30-Mar-14 23:15 
GeneralRe: Power over IP Pin
Rage30-Mar-14 23:16
professionalRage30-Mar-14 23:16 
GeneralRe: Power over IP Pin
BobJanova31-Mar-14 1:10
BobJanova31-Mar-14 1:10 
GeneralRe: Power over IP Pin
Sergey Alexandrovich Kryukov9-Apr-14 12:37
mvaSergey Alexandrovich Kryukov9-Apr-14 12:37 
GeneralRe: Power over IP Pin
Kornfeld Eliyahu Peter30-Mar-14 23:20
professionalKornfeld Eliyahu Peter30-Mar-14 23:20 

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

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