Configuration\PagesSection.cs (5)
112new ConfigurationProperty("enableEventValidation", typeof(bool), Page.EnableEventValidationDefault, ConfigurationPropertyOptions.None);
134new ConfigurationProperty("maxPageStateFieldLength", typeof(int), Page.DefaultMaxPageStateFieldLength, ConfigurationPropertyOptions.None);
148TimeSpan.FromSeconds((double)Page.DefaultAsyncTimeoutSeconds),
302[ConfigurationProperty("enableEventValidation", DefaultValue = Page.EnableEventValidationDefault)]
370ConfigUtil.CheckBaseType(typeof(System.Web.UI.Page), pageBaseType, "pageBaseType", this);
UI\ClientScriptManager.cs (17)
75private Page _owner;
77internal ClientScriptManager(Page owner) {
170RegisterHiddenField(Page.EventValidationPrefixID, fieldValue);
177if (_scriptResourceMapping.GetDefinition("jquery", typeof(Page).Assembly) == null &&
194unsafeField = _owner.RequestValueCollection[Page.EventValidationPrefixID];
291RegisterStartupScript(typeof(Page), PageCallbackScriptKey, (((_owner.RequestInternal != null) &&
294var callBackFrameUrl='" + Util.QuoteJScriptString(GetWebResourceUrl(typeof(Page), "SmartNav.htm"), false) + @"';
532internal static string GetWebResourceUrl(Page owner, Type type, string resourceName, bool htmlEncoded, IScriptManager scriptManager) {
537internal static string GetWebResourceUrl(Page owner, Type type, string resourceName, bool htmlEncoded, IScriptManager scriptManager, bool enableCdn) {
566return IsClientScriptBlockRegistered(typeof(Page), key);
585return IsClientScriptIncludeRegistered(typeof(Page), key);
605return IsStartupScriptRegistered(typeof(Page), key);
625return IsOnSubmitStatementRegistered(typeof(Page), key);
812RegisterClientScriptInclude(typeof(Page), key, url);
1206if (_registeredResourcesToSuppress.TryGetValue(AssemblyResourceLoader.GetAssemblyFromType(typeof(Page)),
1213writer.Write(GetWebResourceUrl(_owner, typeof(Page), webFormScript, htmlEncoded: true, scriptManager: _owner.ScriptManager));
1218var localPath = GetWebResourceUrl(_owner, typeof(Page), webFormScript, htmlEncoded: true, scriptManager: _owner.ScriptManager, enableCdn: false);
UI\Page.cs (19)
162Page page = (Page)obj;
380private Page _previousPage;
448/// <para>Initializes a new instance of the <see cref='System.Web.UI.Page'/> class.</para>
1551/// <see cref='System.Web.UI.Page.ProcessRequest'/> method. If there is a custom error page, and
2314ClientScript.RegisterStartupScript(typeof(Page), PageScrollPositionScriptKey, @"
2385ClientScript.RegisterOnSubmitStatement(typeof(Page), PageReEnableControlsScriptKey, "WebForm_ReEnableControls();");
2810return ClientScript.IsClientScriptBlockRegistered(typeof(Page), key);
2820return ClientScript.IsStartupScriptRegistered(typeof(Page), key);
2858ClientScript.RegisterClientScriptBlock(typeof(Page), key, script);
2872ClientScript.RegisterStartupScript(typeof(Page), key, script, false);
2884ClientScript.RegisterOnSubmitStatement(typeof(Page), key, script);
3430public Page PreviousPage {
3444if (typeof(Page).IsAssignableFrom(result.InstantiatedType)) {
3445_previousPage = (Page)result.CreateInstance();
3978AsyncTimeout = TimeSpan.FromSeconds((double)Page.DefaultAsyncTimeoutSeconds);
4612internal void SetPreviousPage(Page previousPage) {
5751private Page _page;
5770internal LegacyPageAsyncInfo(Page page) {