- Timestamp:
- 05/24/11 17:35:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBQueryPlugin/ViewModels/FilterModel.cs
r6247 r6268 6 6 using HLWebOKBQueryPlugin.Helpers; 7 7 using HLWebOKBQueryPlugin.ViewModels; 8 using System.ComponentModel.DataAnnotations; 8 9 9 10 namespace HLWebOKBQueryPlugin.Models … … 25 26 public static string ComparisonDropDownList { get { return "comparisonDropDownList"; } } 26 27 28 [Required(ErrorMessage = "Field is required!")] 29 [StringLength(50, ErrorMessage = "Maximum 50 characters allowed!")] 30 public string IntValue { get; set; } 31 27 32 /// <summary> 28 33 /// Constructor … … 200 205 { 201 206 ((StringComparisonFilter)f).Value = kvp.Value; 207 IntValue = kvp.Value; 202 208 } 203 209 else if (kvp.Key.Equals(FilterModel.ComparisonDropDownList))
Note: See TracChangeset
for help on using the changeset viewer.