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