UI\TemplateControl.cs (11)
702uc.InitializeAsUserControl(Page);
745uc.InitializeAsUserControl(control.Page);
802if (Page == null) {
815return DataBinder.Eval(Page.GetDataItem(), expression);
826return DataBinder.Eval(Page.GetDataItem(), expression, format);
837return XPathBinder.Eval(Page.GetDataItem(), xPathExpression);
848return XPathBinder.Eval(Page.GetDataItem(), xPathExpression, resolver);
859return XPathBinder.Eval(Page.GetDataItem(), xPathExpression, format);
870return XPathBinder.Eval(Page.GetDataItem(), xPathExpression, format, resolver);
881return XPathBinder.Select(Page.GetDataItem(), xPathExpression);
892return XPathBinder.Select(Page.GetDataItem(), xPathExpression, resolver);
UI\WebControls\MenuRendererClassic.cs (18)
23if (Menu.Page == null) {
28if (Menu.Page.Header == null) {
38Menu._isNotIE = (Menu.Page.Request.Browser.MSDomVersion.Major < 4);
40if (Menu.Page.SupportsStyleSheets || (Menu.Page.ScriptManager != null && Menu.Page.ScriptManager.IsInAsyncPostBack)) {
113if (Menu.Page != null && registerScript) {
115Menu.Page.RegisterWebFormsScript();
117Menu.Page.ClientScript.RegisterClientScriptResource(Menu, typeof(Menu), "Menu.js");
185if ((Menu.Page.RequestInternal != null) &&
186(String.Equals(Menu.Page.Request.Url.Scheme, "https", StringComparison.OrdinalIgnoreCase))) {
191Menu.Page.ClientScript.GetWebResourceUrl(typeof(Menu), "SmartNav.htm"),
197Menu.Page.ClientScript.RegisterStartupScript(Menu, GetType(),
205if (Menu.Page != null && Menu.Page.SupportsStyleSheets) {
207Menu.Page.Header.StyleSheet.CreateStyleRule(style, Menu, "." + name);
225if (Menu.Page != null && Menu.Page.SupportsStyleSheets) {
UI\WebControls\MenuRendererStandards.cs (11)
59if (Menu.Page.ScriptManager != null) {
60Menu.Page.ScriptManager.RegisterClientScriptResource(Menu.Page, typeof(Menu), "MenuStandards.js");
61Menu.Page.ScriptManager.RegisterStartupScript(Menu, typeof(MenuRendererStandards), key, initScript, false);
64Menu.Page.ClientScript.RegisterClientScriptResource(Menu.Page, typeof(Menu), "MenuStandards.js");
65Menu.Page.ClientScript.RegisterStartupScript(typeof(MenuRendererStandards), key, initScript);
71Menu.Page.Header.Controls.Add(CreateStyleBlock());
334return Menu.Page.ClientScript.GetPostBackEventReference(Menu, item.InternalValuePath, true);
359if (Menu.DesignMode || Menu.Page == null) {
363if (Menu.IncludeStyleBlock && Menu.Page.Header == null) {
UI\WebControls\TreeView.cs (100)
343_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_Collapse.gif");
347_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_Collapse.gif");
351_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_Collapse.gif");
355_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_Collapse.gif");
359_cachedCollapseImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_Collapse.gif");
411return (Page != null &&
412(Page.SupportsStyleSheets || Page.IsCallback ||
413(Page.ScriptManager != null && Page.ScriptManager.IsInAsyncPostBack)) &&
486_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_Expand.gif");
490_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_Expand.gif");
494_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_Expand.gif");
498_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_Expand.gif");
502_cachedExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_Expand.gif");
750_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Simple_NoExpand.gif");
754_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Simple2_NoExpand.gif");
758_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Arrows_NoExpand.gif");
762_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Contacts_NoExpand.gif");
766_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_NoExpand.gif");
770_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_MSDN_NoExpand.gif");
774_cachedNoExpandImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Windows_Help_NoExpand.gif");
947(Page != null && !Page.Request.Browser.SupportsCallback)) {
1203if ((value == true) && (Page != null) && Page.IsPostBack &&
1303if (Page != null) {
1304Page.VerifyRenderingInServerForm(this);
1698if ((Page == null) || !Page.IsCallback) {
1734HttpBrowserCapabilities caps = Page.Request.Browser;
1735_isNotIE = (Page.Request.Browser.MSDomVersion.Major < 4);
1738if (_hoverNodeStyle != null && Page != null && Page.Header == null) {
1742if (Page != null && (Page.SupportsStyleSheets ||
1743Page.IsCallback || (Page.ScriptManager != null && Page.ScriptManager.IsInAsyncPostBack))) {
1912rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_RootNode.gif");
1916rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_RootNode.gif");
1920rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_RootNode.gif");
1924rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_RootNode.gif");
1928rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_RootNode.gif");
1932rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_RootNode.gif");
1936rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_RootNode.gif");
1940rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_RootNode.gif");
1944rootNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_RootNode.gif");
1963parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_ParentNode.gif");
1967parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_ParentNode.gif");
1971parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_ParentNode.gif");
1975parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_ParentNode.gif");
1979parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_ParentNode.gif");
1983parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_ParentNode.gif");
1987parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_ParentNode.gif");
1991parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_ParentNode.gif");
1995parentNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_ParentNode.gif");
2015leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList_LeafNode.gif");
2019leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList2_LeafNode.gif");
2023leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList3_LeafNode.gif");
2027leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_BulletedList4_LeafNode.gif");
2031leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_News_LeafNode.gif");
2035leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Inbox_LeafNode.gif");
2039leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Events_LeafNode.gif");
2043leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_FAQ_LeafNode.gif");
2047leafNodeImageUrl = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_XP_Explorer_LeafNode.gif");
2061ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_NoExpand.gif");
2075ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_NoExpand.gif");
2083ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Expand.gif");
2097ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Expand.gif");
2104ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Collapse.gif");
2118ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Collapse.gif");
2124ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_I.gif");
2132ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_R.gif");
2140ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_RExpand.gif");
2148ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_RCollapse.gif");
2156ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_T.gif");
2164ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_TExpand.gif");
2172ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_TCollapse.gif");
2180ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_L.gif");
2188ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_LExpand.gif");
2196ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_LCollapse.gif");
2204ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_Dash.gif");
2212ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_DashExpand.gif");
2220ImageUrls[index] = Page.ClientScript.GetWebResourceUrl(typeof(TreeView), "TreeView_Default_DashCollapse.gif");
2468if ((Page != null) && (Page.RequestInternal != null) &&
2568if (Page != null) {
2569if (!Page.IsPostBack && !_dataBound) {
2573Page.RegisterRequiresPostBack(this);
2585ClientScriptManager scriptOM = Page.ClientScript;
2625Page.RegisterWebFormsScript();
2716IScriptManager scriptManager = Page.ScriptManager;
2819if (Page != null && Page.SupportsStyleSheets) {
2821Page.Header.StyleSheet.CreateStyleRule(style, this, "." + name);
2845if (Page != null) {
2846Page.VerifyRenderingInServerForm(this);
2984if (!Visible && (Page != null) && !Page.IsPostBack) {