1 write to DataControl
System.Web (1)
UI\WebControls\ModelDataSource.cs (1)
29
DataControl
= dataControl;
24 references to DataControl
System.Web (24)
UI\WebControls\ModelDataSourceView.cs (24)
68
if (owner.
DataControl
.Page != null) {
69
owner.
DataControl
.Page.LoadComplete += OnPageLoadComplete;
236
handler(_owner.
DataControl
, e);
320
if (!(_owner.
DataControl
.Page.IsAsync && SynchronizationContextUtil.CurrentMode != SynchronizationContextMode.Legacy)) {
722
var syncContext = _owner.
DataControl
.Page.Context.SyncContext as AspNetSynchronizationContext;
738
CancellationTokenSource cancellationTokenSource = _owner.
DataControl
.Page.CreateCancellationTokenFromAsyncTimeout();
826
CancellationTokenSource cancellationTokenSource = _owner.
DataControl
.Page.CreateCancellationTokenFromAsyncTimeout();
857
_owner.
DataControl
.Page.SetActiveValueProvider(null);
860
if (_owner.
DataControl
.Page.ModelState.IsValid) {
874
var syncContext = _owner.
DataControl
.Page.Context.SyncContext as AspNetSynchronizationContext;
891
Debug.Assert(_owner.
DataControl
.Page != null);
893
if (_owner.
DataControl
.Page.ModelState.IsValid) {
908
Debug.Assert(_owner.
DataControl
.Page != null);
910
if (_owner.
DataControl
.Page.ModelState.IsValid) {
963
Debug.Assert(_owner.
DataControl
.Page != null);
964
Debug.Assert(_owner.
DataControl
.TemplateControl != null);
972
ModelBindingExecutionContext modelBindingExecutionContext = _owner.
DataControl
.Page.ModelBindingExecutionContext;
979
if (dataControl != _owner.
DataControl
) {
985
modelBindingExecutionContext.PublishService<Control>(_owner.
DataControl
);
989
_owner.
DataControl
.Page.SetActiveValueProvider(dataBoundControlValueProvider);
1005
value = new ModelMethodContext(_owner.
DataControl
.Page);
1014
ModelStateDictionary modelState = isPageLoadComplete ? new ModelStateDictionary() : _owner.
DataControl
.Page.ModelState;
1142
instance = _owner.
DataControl
.TemplateControl;
1221
_owner.
DataControl
.Page.SetActiveValueProvider(null);