Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Validate model on initial request Pin
nitin_ion30-Mar-14 17:30
nitin_ion30-Mar-14 17:30 
GeneralRe: Validate model on initial request Pin
Pete O'Hanlon30-Mar-14 19:13
mvePete O'Hanlon30-Mar-14 19:13 
GeneralRe: Validate model on initial request Pin
nitin_ion30-Mar-14 19:15
nitin_ion30-Mar-14 19:15 
GeneralRe: Validate model on initial request Pin
Pete O'Hanlon30-Mar-14 20:26
mvePete O'Hanlon30-Mar-14 20:26 
GeneralRe: Validate model on initial request Pin
BobJanova31-Mar-14 0:48
BobJanova31-Mar-14 0:48 
GeneralRe: Validate model on initial request Pin
Pete O'Hanlon31-Mar-14 1:21
mvePete O'Hanlon31-Mar-14 1:21 
GeneralRe: Validate model on initial request Pin
BobJanova31-Mar-14 2:18
BobJanova31-Mar-14 2:18 
AnswerRe: Validate model on initial request Pin
Dave Kreskowiak31-Mar-14 2:14
mveDave Kreskowiak31-Mar-14 2:14 
OK, so after reading this thread and figuring out (I hope!) what you're really trying to do, my question is WHY??

This is an out-bound model going to the client on a GET request, not a POST. Soooo, I fail to see why you have to validate a model your sending to the client?? If you have to do this, your business rules are messed up because the data in your model should ALWAYS be valid.

You normally validate a model in-bound from the client, not out-bound.

Yeah, I see the you said your data is coming from an ETL system, so, again, your business logic should be checking this, not your UI code.

QuestionRouting event to particular control Pin
samaruf28-Mar-14 16:24
samaruf28-Mar-14 16:24 
QuestionTiff Image Copied with extra bytes Pin
cravi8528-Mar-14 10:50
cravi8528-Mar-14 10:50 
AnswerRe: Tiff Image Copied with extra bytes Pin
Ravi Bhavnani28-Mar-14 11:00
professionalRavi Bhavnani28-Mar-14 11:00 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8528-Mar-14 18:26
cravi8528-Mar-14 18:26 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8528-Mar-14 18:38
cravi8528-Mar-14 18:38 
GeneralRe: Tiff Image Copied with extra bytes Pin
Ravi Bhavnani29-Mar-14 4:37
professionalRavi Bhavnani29-Mar-14 4:37 
GeneralRe: Tiff Image Copied with extra bytes Pin
BobJanova31-Mar-14 0:35
BobJanova31-Mar-14 0:35 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8531-Mar-14 17:21
cravi8531-Mar-14 17:21 
AnswerRe: Tiff Image Copied with extra bytes Pin
Dave Kreskowiak28-Mar-14 13:02
mveDave Kreskowiak28-Mar-14 13:02 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8528-Mar-14 18:39
cravi8528-Mar-14 18:39 
GeneralRe: Tiff Image Copied with extra bytes Pin
Dave Kreskowiak29-Mar-14 3:29
mveDave Kreskowiak29-Mar-14 3:29 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8529-Mar-14 3:39
cravi8529-Mar-14 3:39 
GeneralRe: Tiff Image Copied with extra bytes Pin
Dave Kreskowiak29-Mar-14 3:59
mveDave Kreskowiak29-Mar-14 3:59 
GeneralRe: Tiff Image Copied with extra bytes Pin
cravi8529-Mar-14 5:01
cravi8529-Mar-14 5:01 
GeneralRe: Tiff Image Copied with extra bytes Pin
Dave Kreskowiak29-Mar-14 19:53
mveDave Kreskowiak29-Mar-14 19:53 
QuestionC# Pin
Member 1068292828-Mar-14 7:42
Member 1068292828-Mar-14 7:42 
AnswerRe: C# Pin
Richard MacCutchan28-Mar-14 8:07
mveRichard MacCutchan28-Mar-14 8:07 

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.