2 writes to _owner
System.Web (2)
UI\WebControls\TreeNode.cs (2)
63_owner = owner; 1643_owner = owner;
151 references to _owner
System.Web (151)
UI\WebControls\TreeNode.cs (151)
209else if (_owner != null) { 239if (_owner != null && _owner.DesignMode) return; 245if (_owner == null) { 249else if (!_owner.LoadingNodeState) { 254if (_owner != null) { 255_owner.RaiseTreeNodeExpanded(this); 259if (_owner != null) { 260_owner.RaiseTreeNodeCollapsed(this); 394return _owner; 508if (_owner == null) { 514_owner.SetSelectedNode(this); 516else if (this == _owner.SelectedNode) { 517_owner.SetSelectedNode(null); 524if (_owner.ShowExpandCollapse) { 525return _owner.CreateNodeTextId(Index); 528return _owner.CreateNodeId(Index); 653Value : parentPath + _owner.PathSeparator + Value; 759if (_owner.IsNotIE) { 761_owner.ClientDataObjectID + "," + 775_owner.ClientDataObjectID + "," + 787if (_owner.Page != null) { 788_owner.Page.ClientScript.RegisterForEventValidation(_owner.UniqueID, 806return ((_owner.ShowCheckBoxes & type) != 0); 815if (_owner.IsNotIE) { 817_owner.ClientDataObjectID + "," + 825_owner.ClientDataObjectID + "," + 848if (_owner == null) { 854TreeNodeCollection checkedNodes = _owner.CheckedNodes; 856_owner.CheckedNodes.Add(this); 860_owner.CheckedNodes.Remove(this); 871if (_owner != null) { 872_owner.PopulateNode(this); 890myId = _owner.CreateNodeId(Index); 900TreeNodeStyle mergedStyle = _owner.GetStyle(this); 926writer.AddStyleAttribute(HtmlTextWriterStyle.Width, _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px"); 930if (_owner.ShowLines && !isLast[i]) { 931writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex)); 945writer.Write("<div style=\"width:" + _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px;height:1px\">"); 946if (_owner.ShowLines && !isLast[i]) { 947writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex)); 960bool canExpand = (PopulateOnDemand || (ChildNodes.Count > 0)) && _owner.ShowExpandCollapse; 968if (_owner.ShowLines) { 973imageUrl = _owner.GetImageUrl(TreeView.DashMinusImageIndex); 974imageToolTip = _owner.CollapseImageToolTip; 979imageUrl = _owner.GetImageUrl(TreeView.LMinusImageIndex); 980imageToolTip = _owner.CollapseImageToolTip; 986imageUrl = _owner.GetImageUrl(TreeView.LMinusImageIndex); 987imageToolTip = _owner.CollapseImageToolTip; 991imageUrl = _owner.GetImageUrl(TreeView.MinusImageIndex); 992imageToolTip = _owner.CollapseImageToolTip; 996if (_owner.ShowLines) { 1001imageUrl = _owner.GetImageUrl(TreeView.DashPlusImageIndex); 1002imageToolTip = _owner.ExpandImageToolTip; 1007imageUrl = _owner.GetImageUrl(TreeView.LPlusImageIndex); 1008imageToolTip = _owner.ExpandImageToolTip; 1014imageUrl = _owner.GetImageUrl(TreeView.LPlusImageIndex); 1015imageToolTip = _owner.ExpandImageToolTip; 1019imageUrl = _owner.GetImageUrl(TreeView.PlusImageIndex); 1020imageToolTip = _owner.ExpandImageToolTip; 1025if (_owner.ShowLines) { 1030imageUrl = _owner.GetImageUrl(TreeView.DashImageIndex); 1035imageUrl = _owner.GetImageUrl(TreeView.LImageIndex); 1041imageUrl = _owner.GetImageUrl(TreeView.LImageIndex); 1044else if (_owner.ShowExpandCollapse) { 1045imageUrl = _owner.GetImageUrl(TreeView.NoExpandImageIndex); 1052if (_owner.ShowLines) { 1057imageUrl = _owner.GetImageUrl(TreeView.RMinusImageIndex); 1058imageToolTip = _owner.CollapseImageToolTip; 1063imageUrl = _owner.GetImageUrl(TreeView.TMinusImageIndex); 1064imageToolTip = _owner.CollapseImageToolTip; 1070imageUrl = _owner.GetImageUrl(TreeView.TMinusImageIndex); 1071imageToolTip = _owner.CollapseImageToolTip; 1075imageUrl = _owner.GetImageUrl(TreeView.MinusImageIndex); 1076imageToolTip = _owner.CollapseImageToolTip; 1080if (_owner.ShowLines) { 1085imageUrl = _owner.GetImageUrl(TreeView.RPlusImageIndex); 1086imageToolTip = _owner.ExpandImageToolTip; 1091imageUrl = _owner.GetImageUrl(TreeView.TPlusImageIndex); 1092imageToolTip = _owner.ExpandImageToolTip; 1098imageUrl = _owner.GetImageUrl(TreeView.TPlusImageIndex); 1099imageToolTip = _owner.ExpandImageToolTip; 1103imageUrl = _owner.GetImageUrl(TreeView.PlusImageIndex); 1104imageToolTip = _owner.ExpandImageToolTip; 1109if (_owner.ShowLines) { 1114imageUrl = _owner.GetImageUrl(TreeView.RImageIndex); 1119imageUrl = _owner.GetImageUrl(TreeView.TImageIndex); 1125imageUrl = _owner.GetImageUrl(TreeView.TImageIndex); 1128else if (_owner.ShowExpandCollapse) { 1129imageUrl = _owner.GetImageUrl(TreeView.NoExpandImageIndex); 1140nodeImageUrl = _owner.ResolveClientUrl(ImageUrl); 1143if ((depth < _owner.LevelStyles.Count) && (_owner.LevelStyles[depth] != null) && mergedStyle.ImageUrl.Length > 0) { 1144nodeImageUrl = _owner.GetLevelImageUrl(depth); 1149nodeImageUrl = _owner.GetImageUrl(TreeView.RootImageIndex); 1152nodeImageUrl = _owner.GetImageUrl(TreeView.ParentImageIndex); 1155nodeImageUrl = _owner.GetImageUrl(TreeView.LeafImageIndex); 1172if (_owner.RenderClientScript && !_owner.CustomExpandCollapseHandlerExists) { 1177if (_owner.PopulateNodesFromClient) { 1179throw new InvalidOperationException(SR.GetString(SR.TreeView_PopulateOnlyEmptyNodes, _owner.ID)); 1186if (_owner.Page != null) { 1187href = _owner.Page.ClientScript.GetPostBackClientHyperlink(_owner, 1199if (_owner.Page != null) { 1200href = _owner.Page.ClientScript.GetPostBackClientHyperlink(_owner, "t" + InternalValuePath, true); 1255anchorAttributes.Add(_owner.ResolveClientUrl(NavigateUrl)); 1260target = _owner.Target; 1268if (_owner.RenderClientScript) { 1271if (_owner.Page != null && _owner.Page.SupportsStyleSheets && 1275"TreeView_SelectNode(" + _owner.ClientDataObjectID + 1284_owner.Page.ClientScript.GetPostBackClientHyperlink(_owner, "t" + InternalValuePath, true, true)); 1286else if (!_owner.CustomExpandCollapseHandlerExists && canExpand) { 1302if (_owner.RenderClientScript && (SelectAction == TreeNodeSelectAction.Expand) && !_owner.CustomExpandCollapseHandlerExists) { 1305if (_owner.PopulateNodesFromClient) { 1316if (_owner.Page != null) { 1317href = _owner.Page.ClientScript.GetPostBackClientHyperlink( 1318_owner, "t" + InternalValuePath, true, true); 1334if (_owner.Page != null) { 1335string href = _owner.Page.ClientScript.GetPostBackClientHyperlink( 1336_owner, "s" + InternalValuePath, true, true); 1339if (_owner.RenderClientScript) { 1341anchorAttributes.Add("TreeView_SelectNode(" + _owner.ClientDataObjectID + 1397if (!_owner.NodeWrap) { 1401if (_owner.Page != null && _owner.Page.SupportsStyleSheets) { 1402string styleClass = _owner.GetCssClassName(this, false); 1413if (_owner.EnableHover && (SelectAction != TreeNodeSelectAction.None)) { 1414writer.AddAttribute("onmouseover", "TreeView_HoverNode(" + _owner.ClientDataObjectID + ", this)"); 1431if (!_owner.Enabled && (_owner.RenderingCompatibility >= VersionUtil.Framework40) 1446if (_owner.Page != null && _owner.Page.SupportsStyleSheets) { 1448string styleClass = _owner.GetCssClassName(this, true, out renderInlineBorder); 1477if (!_owner.AccessKeyRendered && _owner.AccessKey.Length != 0) { 1478writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, _owner.AccessKey, true); 1479_owner.AccessKeyRendered = true; 1515if (_owner.RenderClientScript) { 1541TreeNodeStyle mergedStyle = _owner.GetStyle(this); 1660if (_owner != null) { 1664TreeNodeCollection checkedNodes = _owner.CheckedNodes; 1666_owner.CheckedNodes.Add(this); 1670_owner.CheckedNodes.Remove(this); 1676node.SetOwner(_owner); 1702if (_owner == null) {