View Single Post
  #10 (permalink)  
Old November 3rd, 2014, 04:06 PM
snaebjorn snaebjorn is offline
Registered User
Points: 28, Level: 1
Points: 28, Level: 1 Points: 28, Level: 1 Points: 28, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2014
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default I did not used [code] or [/code]

I was following your example from your book (I had to make some changes from your book i.e. if(HttpContext.Current.Request["email"].IsEmpty()){
ModelState.AddError("email", "You must provide a valid email");
} which isn't in the book), and I keep getting context errors. My request objects work, but not my function (@Helpers.Selected) and I think I'll get the same error with the Helpers.Checked function.
Reply With Quote