6 overrides of ClientID
System.Web (5)
UI\DataSourceControl.cs (1)
46public override string ClientID {
UI\HierarchicalDataSourceControl.cs (1)
26public override string ClientID {
UI\HtmlForm.cs (1)
237public override string ClientID {
UI\WebControls\xml.cs (1)
136public override string ClientID {
UI\WebParts\ProxyWebPartManager.cs (1)
28public override string ClientID {
System.Web.DynamicData (1)
DynamicData\DynamicDataManager.cs (1)
51public override string ClientID {
160 references to ClientID
System.Web (119)
UI\ClientScriptManager.cs (1)
881string keyPress = "javascript:return WebForm_FireDefaultButton(event, '" + button.ClientID + "')";
UI\DataSourceControl.cs (1)
48return base.ClientID;
UI\HierarchicalDataSourceControl.cs (1)
28return base.ClientID;
UI\HtmlControls\HtmlControl.cs (1)
197writer.WriteAttribute("id", ClientID);
UI\HtmlForm.cs (1)
242return base.ClientID;
UI\Page.cs (3)
2338focusedControlId = FocusedControl.ClientID; 2407ClientScript.RegisterArrayDeclaration(EnabledControlArray, "'" + control.ClientID + "'"); 6254throw new HttpException(SR.GetString(SR.ControlRenderedOutsideServerForm, control.ClientID, control.GetType().Name));
UI\WebControls\Adapters\MenuAdapter.cs (2)
151skipLink.NavigateUrl = '#' + owner.ClientID + "_SkipLink"; 246skipAnchor.Name = Control.ClientID + "_SkipLink";
UI\WebControls\AdRotator.cs (2)
316ID = adRotator.ClientID; 773bannerLink.ID = ClientID;
UI\WebControls\basecomparevalidator.cs (1)
80string id = ClientID;
UI\WebControls\BaseValidator.cs (6)
339string id = ClientID; 500return c.ClientID; 654string element = "document.getElementById(\"" + ClientID + "\")"; 670ValidatorCompatibilityHelper.RegisterStartupScript(this, typeof(BaseValidator), ClientID + "_DisposeScript", 678ClientID, arrayName), true); 795validateId = c.ClientID;
UI\WebControls\Calendar.cs (1)
1259table.ID = ClientID;
UI\WebControls\CheckBox.cs (1)
472string clientID = ClientID;
UI\WebControls\ChildTable.cs (1)
86return parent.ClientID;
UI\WebControls\CompareValidator.cs (1)
100string id = ClientID;
UI\WebControls\CustomValidator.cs (1)
91string id = ClientID;
UI\WebControls\DataGrid.cs (1)
1100Table table = new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
UI\WebControls\DataList.cs (1)
1361outerTable.ID = ClientID;
UI\WebControls\DetailsView.cs (5)
2137return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2275string clientCallbackReference = "javascript:__dv" + ClientID + ".callback"; 3136string hiddenFieldID = "__dv" + ClientID + "__hidden"; 3170string clientReference = "__dv" + ClientID; 3389string clientID = ClientID;
UI\WebControls\FormView.cs (1)
1832return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
UI\WebControls\GridView.cs (5)
2319return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID); 2801string clientCallbackReference = "javascript:__gv" + ClientID + ".callback"; 3665string hiddenFieldID = "__gv" + ClientID + "__hidden"; 3719string clientReference = "__gv" + ClientID; 4186string clientID = ClientID;
UI\WebControls\HiddenField.cs (1)
156writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
UI\WebControls\ImageMap.cs (2)
134writer.AddAttribute(HtmlTextWriterAttribute.Usemap, "#ImageMap" + ClientID, false); 191string fullClientID = "ImageMap" + ClientID;
UI\WebControls\Label.cs (1)
156writer.AddAttribute(HtmlTextWriterAttribute.For, wc.ClientID);
UI\WebControls\LabelLiteral.cs (1)
37writer.AddAttribute(HtmlTextWriterAttribute.For, _for.ClientID);
UI\WebControls\loginstatus.cs (1)
382writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
UI\WebControls\LoginUtil.cs (1)
421table.ID = Parent.ClientID;
UI\WebControls\Menu.cs (1)
186return ClientID + "_Data";
UI\WebControls\MenuItem.cs (1)
254_id = _owner.ClientID + 'n' + Index;
UI\WebControls\MenuRendererClassic.cs (4)
198Menu.ClientID + "_CreateDataObject", 206string name = Menu.ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo); 213ControlRenderingHelper.WriteSkipLinkStart(writer, Menu.RenderingCompatibility, Menu.DesignMode, Menu.SkipLinkText, Menu.SpacerImageUrl, Menu.ClientID); 318ControlRenderingHelper.WriteSkipLinkEnd(writer, Menu.DesignMode, Menu.SkipLinkText, Menu.ClientID);
UI\WebControls\MenuRendererStandards.cs (24)
48string key = "_registerMenu_" + Menu.ClientID; 53Menu.ClientID, 93styleBlock.AddStyleDefinition("#{0}", Menu.ClientID) 98styleBlock.AddStyleDefinition("#{0} img.icon", Menu.ClientID) 102styleBlock.AddStyleDefinition("#{0} img.separator", Menu.ClientID) 107styleBlock.AddStyleDefinition("#{0} img.horizontal-separator", Menu.ClientID) 114styleBlock.AddStyleDefinition("#{0} ul", Menu.ClientID) 120styleBlock.AddStyleDefinition("#{0} ul.static", Menu.ClientID) 123var ulDynamic = styleBlock.AddStyleDefinition("#{0} ul.dynamic", Menu.ClientID) 139styleBlock.AddStyleDefinition("#{0} ul.level{1}", Menu.ClientID, index++) 150styleBlock.AddStyleDefinition("#{0} a", Menu.ClientID) 155var menuItemStatic = styleBlock.AddStyleDefinition("#{0} a.static", Menu.ClientID); 168styleBlock.AddStyleDefinition("#{0} a.popout", Menu.ClientID) 178styleBlock.AddStyleDefinition("#{0} a.popout-dynamic", Menu.ClientID) 184var styleBlockStyles = styleBlock.AddStyleDefinition("#{0} a.dynamic", Menu.ClientID) 197var style = styleBlock.AddStyleDefinition("#{0} a.level{1}", Menu.ClientID, index + 1); 228styleBlockStyles = styleBlock.AddStyleDefinition("#{0} a.static.selected", Menu.ClientID) 234styleBlockStyles = styleBlock.AddStyleDefinition("#{0} a.dynamic.selected", Menu.ClientID) 240styleBlock.AddStyleDefinition("#{0} a.static.highlighted", Menu.ClientID) 243styleBlock.AddStyleDefinition("#{0} a.dynamic.highlighted", Menu.ClientID) 250styleBlock.AddStyleDefinition("#{0} a.selected.level{1}", Menu.ClientID, index++) 372ControlRenderingHelper.WriteSkipLinkStart(writer, Menu.RenderingCompatibility, Menu.DesignMode, Menu.SkipLinkText, SpacerImageUrl, Menu.ClientID); 400writer.AddAttribute(HtmlTextWriterAttribute.Id, Menu.ClientID); 418ControlRenderingHelper.WriteSkipLinkEnd(writer, Menu.DesignMode, Menu.SkipLinkText, Menu.ClientID);
UI\WebControls\ModelErrorMessage.cs (1)
100validateId = control.ClientID;
UI\WebControls\PopOutPanel.cs (2)
85writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID + "Up"); 101writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID + "Dn");
UI\WebControls\RangeValidator.cs (1)
74string id = ClientID;
UI\WebControls\RegularExpressionValidator.cs (1)
67string id = ClientID;
UI\WebControls\RepeatInfo.cs (2)
188outerControl.ID = baseControl.ClientID; 436outerControl.ID = baseControl.ClientID;
UI\WebControls\RequiredFieldValidator.cs (1)
54string id = ClientID;
UI\WebControls\SiteMapPath.cs (2)
704ControlRenderingHelper.WriteSkipLinkStart(writer, RenderingCompatibility, DesignMode, SkipLinkText, SpacerImageUrl, ClientID); 708ControlRenderingHelper.WriteSkipLinkEnd(writer, DesignMode, SkipLinkText, ClientID);
UI\WebControls\TableCell.cs (1)
269builder.Append(headerCell.ClientID);
UI\WebControls\TreeView.cs (12)
287_cachedClientDataObjectID = ClientID + "_Data"; 526_cachedExpandStateID = ClientID + "_ExpandState"; 562_cachedImageArrayID = ClientID + "_ImageArray"; 931_cachedPopulateLogID = ClientID + "_PopulateLog"; 1047_cachedSelectedNodeFieldID = ClientID + "_SelectedNode"; 1385return ClientID + "n" + index; 1393return ClientID + "t" + index; 2712scriptOM.RegisterClientScriptBlock(this, GetType(), ClientID + "_CreateDataObject1", "var " + clientDataObjectID + " = null;", true); 2713scriptOM.RegisterStartupScript(this, GetType(), ClientID + "_CreateDataObject2", createDataObjectScript, true); 2820string name = ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo); 2827ControlRenderingHelper.WriteSkipLinkStart(writer, RenderingCompatibility, DesignMode, SkipLinkText, SpacerImageUrl, ClientID); 2912ControlRenderingHelper.WriteSkipLinkEnd(writer, DesignMode, SkipLinkText, ClientID);
UI\WebControls\ValidationSummary.cs (4)
233string id = ClientID; 335string element = "document.getElementById(\"" + ClientID + "\")"; 351ValidatorCompatibilityHelper.RegisterStartupScript(this, typeof(ValidationSummary), ClientID + "_DisposeScript", 365ClientID, arrayName), true);
UI\WebControls\WebControl.cs (1)
591writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
UI\WebControls\Wizard.cs (2)
3296ControlRenderingHelper.WriteSkipLinkStart(writer, RenderingCompatibility, _owner.DesignMode, _owner.SkipLinkText, SpacerImageUrl, _owner.ClientID); 3300ControlRenderingHelper.WriteSkipLinkEnd(writer, _owner.DesignMode, _owner.SkipLinkText, _owner.ClientID);
UI\WebControls\xml.cs (1)
138return base.ClientID;
UI\WebParts\CatalogZoneBase.cs (2)
391return ClientID + ClientIDSeparator + "_checkbox" + ClientIDSeparator + value; 674writer.AddAttribute(HtmlTextWriterAttribute.For, zonesDropDownList.ClientID);
UI\WebParts\ConnectionsZone.cs (2)
1536label.AssociatedControlID = list.ClientID; 1629label.AssociatedControlID = list.ClientID;
UI\WebParts\EditorPart.cs (3)
183RenderDisplayName(writer, propertyDisplayNames[i], editUIControl.ClientID); 191associatedClientID = compositeControl.Controls[0].ClientID; 195associatedClientID = editUIControl.ClientID;
UI\WebParts\ImportCatalogPart.cs (1)
439writer.AddAttribute(HtmlTextWriterAttribute.For, _upload.ClientID);
UI\WebParts\ProxyWebPartManager.cs (1)
30return base.ClientID;
UI\WebParts\WebPartChrome.cs (1)
253string name = Zone.ClientID + "_" + _cssStyleIndex++.ToString(NumberFormatInfo.InvariantInfo);
UI\WebParts\WebPartManager.cs (3)
3860dragOverlayElementReference = "document.getElementById('" + ClientID + "___Drag')"; 3874zoneCode.AppendFormat(CultureInfo.InvariantCulture, ZoneScript, zone.ClientID, zone.UniqueID, isVertical, 3992string dragOverlayElementHtml = String.Format(CultureInfo.InvariantCulture, DragOverlayElementHtmlTemplate, ClientID);
UI\WebParts\WebPartZoneBase.cs (1)
1658return ClientID;
System.Web.DataVisualization (3)
WebForm\ChartWebControl.cs (3)
579writer.AddAttribute(HtmlTextWriterAttribute.Usemap, "#"+this.ClientID+"ImageMap", false); 617htmlImage.ID = this.ClientID; 734 chartPicture.WriteChartMapTag(writer, this.ClientID + "ImageMap");
System.Web.DynamicData (1)
DynamicData\DynamicDataManager.cs (1)
53return base.ClientID;
System.Web.Extensions (18)
UI\PageRequestManager.cs (6)
204idList.Append(control.ClientID); 209idList.Append(control.ClientID); 306updatePanelIDs.Append(up.ClientID); 471focusedControlId = _focusedControl.ClientID; 803dataItem.Control.ClientID, 879writer.Write(up.ClientID);
UI\ScriptManager.cs (2)
1989writer.AddAttribute(HtmlTextWriterAttribute.Id, this.ClientID); 2005writer.Write(serializer.Serialize(ClientID));
UI\ScriptRegistrationManager.cs (2)
317serializer.Serialize(parentUpdatePanel.ClientID, sb); 595entry.ParentUpdatePanel.ClientID,
UI\Timer.cs (2)
139ScriptComponentDescriptor s = new ScriptControlDescriptor("Sys.UI._Timer", this.ClientID); 207writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
UI\UpdatePanel.cs (2)
407PageRequestManager.EncodeString(writer, UpdatePanelToken, ClientID, childWriter.InnerWriter.ToString()); 412writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
UI\UpdateProgress.cs (3)
158writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID); 190ScriptControlDescriptor desc = new ScriptControlDescriptor("Sys.UI._UpdateProgress", ClientID); 196updatePanelClientID = c.ClientID;
UI\WebControls\DataPager.cs (1)
236writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
System.Web.Mobile (19)
UI\MobileControls\Adapters\HtmlCommandAdapter.cs (1)
72writer.Write(form.ClientID);
UI\MobileControls\Adapters\HtmlFormAdapter.cs (2)
97writer.WriteAttribute("id", Control.ClientID); 98writer.WriteAttribute("name", Control.ClientID);
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
157return form.ClientID + ".html"; 274writer.Write(form.ClientID);
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (2)
146Write(String.Format(CultureInfo.InvariantCulture, _loopDetectionCard, Page.ActiveForm.ClientID)); 929menuTargetClientID = CurrentForm.ClientID;
UI\MobileControls\Adapters\WmlControlAdapter.cs (1)
113targetUrl = prefix + form.ClientID;
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (2)
795WritePostFieldVariable(ctl.UniqueID, MapClientIDToShortName(ctl.ClientID, false)); 936attributes.Add("id", form.ClientID);
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (5)
127String formVariable = ClientPrefix + Control.ClientID; 130writer.RenderBeginSelect(Control.ClientID, formVariable, _ivalue, Control.Title, Control.IsMultiSelect); 134writer.RenderBeginSelect(Control.ClientID, null, null, Control.Title, Control.IsMultiSelect); 141writer.AddFormVariable (Control.ClientID, _ivalue, false); 144writer.RenderBeginSelect(null, Control.ClientID, _ivalue, Control.Title, Control.IsMultiSelect);
UI\MobileControls\Adapters\WmlTextBoxAdapter.cs (3)
66writer.AddFormVariable(Control.ClientID, value, requiresRandomID); 72writer.MapClientIDToShortName(Control.ClientID, requiresRandomID); 88writer.RenderTextBox(Control.ClientID,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
48writer.WriteAttribute ("id", Control.ClientID);