56 references to Attributes
System.Web (54)
UI\WebControls\AdRotator.cs (6)
326foreach(string key in adRotator.Attributes.Keys) { 327Attributes[key] = adRotator.Attributes[key]; 766foreach(string key in Attributes.Keys) { 767bannerLink.Attributes[key] = Attributes[key];
UI\WebControls\BaseValidator.cs (1)
347Attributes["data-val"] = "true";
UI\WebControls\Button.cs (2)
295string userOnClick = Attributes["onclick"]; 298Attributes.Remove("onclick");
UI\WebControls\Calendar.cs (2)
1286if (table.Attributes["title"] == null) { 1287table.Attributes["title"] = SR.GetString(SR.Calendar_TitleText);
UI\WebControls\CheckBox.cs (1)
442AttributeCollection attribs = Attributes;
UI\WebControls\CheckBoxList.cs (2)
533_controlToRepeat.Attributes.Clear(); 536_controlToRepeat.Attributes[key] = item.Attributes[key];
UI\WebControls\DataGrid.cs (1)
1285cell.Attributes["scope"] = "col";
UI\WebControls\ImageButton.cs (2)
313string userOnClick = Attributes["onclick"]; 316Attributes.Remove("onclick");
UI\WebControls\LinkButton.cs (2)
272string userOnClick = Attributes["onclick"]; 278Attributes.Remove("onclick");
UI\WebControls\ListControl.cs (2)
508onChange = Attributes["onchange"]; 511Attributes.Remove("onchange");
UI\WebControls\LoginUtil.cs (1)
408table[0, 0].Attributes[HtmlTextWriter.DesignerRegionAttributeName] = _templateDesignerRegion;
UI\WebControls\Menu.cs (1)
1897Attributes.AddAttributes(htmlWriter);
UI\WebControls\MenuRendererStandards.cs (2)
381foreach (string key in Menu.Attributes.Keys) { 382writer.AddAttribute(key, Menu.Attributes[key]);
UI\WebControls\RadioButton.cs (1)
97string valueAttr = Attributes["value"];
UI\WebControls\RadioButtonList.cs (3)
492controlToRepeat.Attributes.Clear(); 495controlToRepeat.Attributes[key] = item.Attributes[key]; 507controlToRepeat.Attributes["value"] = item.Value;
UI\WebControls\TextBox.cs (5)
431if (mode != TextBoxMode.SingleLine || String.IsNullOrEmpty(Attributes["type"])) { 488onChange = Attributes["onchange"]; 491Attributes.Remove("onchange"); 516string userOnKeyPress = Attributes["onkeypress"]; 519Attributes.Remove("onkeypress");
UI\WebControls\ValidationSummary.cs (1)
239Attributes["data-valsummary"] = "true";
UI\WebControls\WebControl.cs (7)
304return Attributes.CssStyle; 638AttributeCollection atrColl = Attributes; 670/// <para>Copies the <see cref='System.Web.UI.WebControls.WebControl.AccessKey'/>, <see cref='System.Web.UI.WebControls.WebControl.Enabled'/>, ToolTip, <see cref='System.Web.UI.WebControls.WebControl.TabIndex'/>, and <see cref='System.Web.UI.WebControls.WebControl.Attributes'/> properties onto the 692foreach(string key in controlSrc.Attributes.Keys) { 693this.Attributes[key] = controlSrc.Attributes[key]; 872Attributes[name] = value;
UI\WebParts\GenericWebPart.cs (8)
277childWebControl.Attributes.Remove("AuthorizationFilter"); 278childWebControl.Attributes.Remove("CatalogIconImageUrl"); 279childWebControl.Attributes.Remove("Description"); 280childWebControl.Attributes.Remove("ExportMode"); 281childWebControl.Attributes.Remove("Subtitle"); 282childWebControl.Attributes.Remove("Title"); 283childWebControl.Attributes.Remove("TitleIconImageUrl"); 284childWebControl.Attributes.Remove("TitleUrl");
UI\WebParts\WebPartChrome.cs (4)
518link.Attributes.Add("onclick", "return __wpm.ExportWebPart('', true, true)"); 522link.Attributes.Add("onclick", onclick); 560verbControl.Attributes.Add("onclick", onclick); 565verbControl.Attributes.Add("onclick", onclick);
System.Web.Mobile (2)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
94webCalendar.Attributes["align"] = align.ToString();
UI\MobileControls\Design\MobileControlPersister.cs (1)
649expandos = ((WebControl)component).Attributes;