44 references to PagesConfig
System.Web (44)
UI\PageParser.cs (31)
214
if (
PagesConfig
!= null) {
218
if (
PagesConfig
.Buffer != Page.BufferDefault)
219
_mainDirectiveConfigSettings["buffer"] = Util.GetStringFromBool(
PagesConfig
.Buffer);
221
if (
PagesConfig
.EnableViewStateMac != Page.EnableViewStateMacDefault)
222
_mainDirectiveConfigSettings["enableviewstatemac"] = Util.GetStringFromBool(
PagesConfig
.EnableViewStateMac);
224
if (
PagesConfig
.EnableEventValidation != Page.EnableEventValidationDefault)
225
_mainDirectiveConfigSettings["enableEventValidation"] = Util.GetStringFromBool(
PagesConfig
.EnableEventValidation);
227
if (
PagesConfig
.SmartNavigation != Page.SmartNavigationDefault)
228
_mainDirectiveConfigSettings["smartnavigation"] = Util.GetStringFromBool(
PagesConfig
.SmartNavigation);
230
if (
PagesConfig
.ThemeInternal != null &&
PagesConfig
.Theme.Length != 0)
231
_mainDirectiveConfigSettings["theme"] =
PagesConfig
.Theme;
233
if (
PagesConfig
.StyleSheetThemeInternal != null &&
PagesConfig
.StyleSheetThemeInternal.Length != 0)
234
_mainDirectiveConfigSettings["stylesheettheme"] =
PagesConfig
.StyleSheetThemeInternal;
236
if (
PagesConfig
.MasterPageFileInternal != null &&
PagesConfig
.MasterPageFileInternal.Length != 0) {
237
_configMasterPageFile =
PagesConfig
.MasterPageFileInternal;
240
if (
PagesConfig
.ViewStateEncryptionMode != Page.EncryptionModeDefault) {
241
_mainDirectiveConfigSettings["viewStateEncryptionMode"] = Enum.Format(typeof(ViewStateEncryptionMode),
PagesConfig
.ViewStateEncryptionMode, "G");
244
if (
PagesConfig
.MaintainScrollPositionOnPostBack != Page.MaintainScrollPositionOnPostBackDefault) {
245
_mainDirectiveConfigSettings["maintainScrollPositionOnPostBack"] = Util.GetStringFromBool(
PagesConfig
.MaintainScrollPositionOnPostBack);
248
if (
PagesConfig
.MaxPageStateFieldLength != Page.DefaultMaxPageStateFieldLength) {
249
_mainDirectiveConfigSettings["maxPageStateFieldLength"] =
PagesConfig
.MaxPageStateFieldLength;
252
flags[requiresSessionState] = ((
PagesConfig
.EnableSessionState == PagesEnableSessionState.True) || (
PagesConfig
.EnableSessionState == PagesEnableSessionState.ReadOnly));
253
flags[readOnlySessionState] = (
PagesConfig
.EnableSessionState == PagesEnableSessionState.ReadOnly);
254
flags[validateRequest] =
PagesConfig
.ValidateRequest;
265
else if (
PagesConfig
!= null &&
PagesConfig
.PageBaseTypeInternal != null) {
266
BaseType =
PagesConfig
.PageBaseTypeInternal;
UI\TagNameToTypeMapper.cs (2)
246
PagesSection pagesConfig = parser.
PagesConfig
;
456
Hashtable tagMapEntries = _parser.
PagesConfig
.TagMapping.TagTypeMappingInternal;
UI\TemplateControlParser.cs (5)
59
if (
PagesConfig
!= null) {
60
flags[noAutoEventWireup] = !
PagesConfig
.AutoEventWireup;
63
if (
PagesConfig
.EnableViewState != Control.EnableViewStateDefault)
64
_mainDirectiveConfigSettings["enableviewstate"] = Util.GetStringFromBool(
PagesConfig
.EnableViewState);
66
CompilationMode =
PagesConfig
.CompilationMode;
UI\TemplateParser.cs (3)
651
if (
PagesConfig
!= null) {
652
_namespaceEntries =
PagesConfig
.Namespaces.NamespaceEntries;
660
_pageParserFilter = PageParserFilter.Create(
PagesConfig
, CurrentVirtualPath, this);
UI\UserControlParser.cs (3)
48
else if (
PagesConfig
!= null &&
PagesConfig
.UserControlBaseTypeInternal != null) {
49
BaseType =
PagesConfig
.UserControlBaseTypeInternal;