17 references to ModelState
System.Web (15)
UI\Page.cs (3)
494
_modelBindingExecutionContext = new ModelBindingExecutionContext(new HttpContextWrapper(Context), this.
ModelState
);
551
ModelState =
ModelState
,
556
return
ModelState
.IsValid;
UI\WebControls\DetailsView.cs (2)
2544
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
2685
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
UI\WebControls\FormView.cs (2)
2176
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
2314
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
UI\WebControls\GridView.cs (1)
3254
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
UI\WebControls\ModelDataSourceView.cs (4)
860
if (_owner.DataControl.Page.
ModelState
.IsValid) {
893
if (_owner.DataControl.Page.
ModelState
.IsValid) {
910
if (_owner.DataControl.Page.
ModelState
.IsValid) {
1014
ModelStateDictionary modelState = isPageLoadComplete ? new ModelStateDictionary() : _owner.DataControl.Page.
ModelState
;
UI\WebControls\ModelErrorMessage.cs (1)
89
if (Page != null && Page.
ModelState
.TryGetValue(ModelStateKey, out modelState)) {
UI\WebControls\ModelMethodContext.cs (1)
27
return _page.
ModelState
;
UI\WebControls\ValidationSummary.cs (1)
285
ModelStateDictionary modelState = Page.
ModelState
;
System.Web.Extensions (2)
UI\WebControls\ListView.cs (2)
2447
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {
2588
if (IsUsingModelBinders && !Page.
ModelState
.IsValid) {