UI\Html32TextWriter.cs (22)
370AddAttribute(HtmlTextWriterAttribute.Border,s);
374AddAttribute(HtmlTextWriterAttribute.Nowrap, value);
382AddAttribute(HtmlTextWriterAttribute.Height,s);
387AddAttribute(HtmlTextWriterAttribute.Width,s);
399AddAttribute(HtmlTextWriterAttribute.Bordercolor, value);
411AddAttribute(HtmlTextWriterAttribute.Bgcolor,value);
416AddAttribute(HtmlTextWriterAttribute.Bgcolor,value);
430AddAttribute(HtmlTextWriterAttribute.Background,value);
437AddAttribute(HtmlTextWriterAttribute.Background,value);
449AddAttribute(HtmlTextWriterAttribute.Type, "1");
452AddAttribute(HtmlTextWriterAttribute.Type, "a");
455AddAttribute(HtmlTextWriterAttribute.Type, "A");
458AddAttribute(HtmlTextWriterAttribute.Type, "i");
461AddAttribute(HtmlTextWriterAttribute.Type, "I");
466AddAttribute(HtmlTextWriterAttribute.Type, value);
469AddAttribute(HtmlTextWriterAttribute.Type, "disc");
475AddAttribute(HtmlTextWriterAttribute.Align, value);
478AddAttribute(HtmlTextWriterAttribute.Valign, value);
554AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
557AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
560AddAttribute(HtmlTextWriterAttribute.Border, "0");
563AddAttribute(HtmlTextWriterAttribute.Width, "100%");
UI\WebControls\CheckBox.cs (13)
410writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
435writer.AddAttribute(HtmlTextWriterAttribute.Title, toolTip);
495writer.AddAttribute(HtmlTextWriterAttribute.For, clientID);
510writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID);
513writer.AddAttribute(HtmlTextWriterAttribute.Type, "checkbox");
516writer.AddAttribute(HtmlTextWriterAttribute.Name, UniqueID);
521writer.AddAttribute(HtmlTextWriterAttribute.Value, _valueAttribute);
525writer.AddAttribute(HtmlTextWriterAttribute.Checked, "checked");
529writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
548writer.AddAttribute(HtmlTextWriterAttribute.Onclick, onClick);
560writer.AddAttribute(HtmlTextWriterAttribute.Onclick, onClick);
566writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, s);
570writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, i.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\ImageMap.cs (11)
183writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
192writer.AddAttribute(HtmlTextWriterAttribute.Name, fullClientID);
193writer.AddAttribute(HtmlTextWriterAttribute.Id, fullClientID);
205writer.AddAttribute(HtmlTextWriterAttribute.Coords, item.GetCoordinates());
217writer.AddAttribute(HtmlTextWriterAttribute.Href,
224writer.AddAttribute(HtmlTextWriterAttribute.Href, resolvedUrl);
229if (target.Length > 0) writer.AddAttribute(HtmlTextWriterAttribute.Target, target);
234writer.AddAttribute(HtmlTextWriterAttribute.Title, item.AlternateText);
235writer.AddAttribute(HtmlTextWriterAttribute.Alt, item.AlternateText);
238writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, s);
242writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, n.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\MenuItem.cs (33)
699writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
700writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
701writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
718writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
719writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
720writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
721writer.AddAttribute(HtmlTextWriterAttribute.Width, "100%");
724writer.AddAttribute(HtmlTextWriterAttribute.Class, styleClass);
814writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(_owner.StaticTopSeparatorImageUrl));
817writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(_owner.DynamicTopSeparatorImageUrl));
819writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
862writer.AddAttribute(HtmlTextWriterAttribute.Title, ToolTip);
865writer.AddAttribute(HtmlTextWriterAttribute.Id, Id);
877writer.AddAttribute(HtmlTextWriterAttribute.Class, styleClass);
884writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
885writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
886writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
887writer.AddAttribute(HtmlTextWriterAttribute.Width, "100%");
903writer.AddAttribute(HtmlTextWriterAttribute.Class, styleClass);
922writer.AddAttribute(HtmlTextWriterAttribute.Href, _owner.ResolveClientUrl(NavigateUrl));
931writer.AddAttribute(HtmlTextWriterAttribute.Target, target);
936writer.AddAttribute(HtmlTextWriterAttribute.Href,
949writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "true");
954writer.AddAttribute(HtmlTextWriterAttribute.Href, "#");
992writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(ImageUrl));
993writer.AddAttribute(HtmlTextWriterAttribute.Alt, ToolTip);
1053writer.AddAttribute(HtmlTextWriterAttribute.Src, expandImageUrl);
1058writer.AddAttribute(HtmlTextWriterAttribute.Alt,
1063writer.AddAttribute(HtmlTextWriterAttribute.Alt,
1098writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(SeparatorImageUrl));
1101writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(_owner.StaticBottomSeparatorImageUrl));
1104writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(_owner.DynamicBottomSeparatorImageUrl));
1106writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
UI\WebControls\MenuRendererStandards.cs (21)
392writer.AddAttribute(HtmlTextWriterAttribute.Class, cssClass);
400writer.AddAttribute(HtmlTextWriterAttribute.Id, Menu.ClientID);
413writer.AddAttribute(HtmlTextWriterAttribute.Style, "clear: left");
444writer.AddAttribute(HtmlTextWriterAttribute.Src, Menu.ResolveClientUrl(item.ImageUrl));
445writer.AddAttribute(HtmlTextWriterAttribute.Alt, item.ToolTip);
446writer.AddAttribute(HtmlTextWriterAttribute.Title, item.ToolTip);
447writer.AddAttribute(HtmlTextWriterAttribute.Class, "icon");
454writer.AddAttribute(HtmlTextWriterAttribute.Title, item.ToolTip);
459writer.AddAttribute(HtmlTextWriterAttribute.Class, cssClass + " " + DisabledCssClass);
463writer.AddAttribute(HtmlTextWriterAttribute.Class, cssClass);
471writer.AddAttribute(HtmlTextWriterAttribute.Class, cssClass);
475writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, Menu.AccessKey);
480writer.AddAttribute(HtmlTextWriterAttribute.Href, "#");
481writer.AddAttribute(HtmlTextWriterAttribute.Onclick, GetPostBackEventReference(item));
485writer.AddAttribute(HtmlTextWriterAttribute.Href, Menu.ResolveClientUrl(item.NavigateUrl));
492writer.AddAttribute(HtmlTextWriterAttribute.Target, target);
530writer.AddAttribute(HtmlTextWriterAttribute.Src, separatorImageUrl);
531writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
532writer.AddAttribute(HtmlTextWriterAttribute.Class,
543writer.AddAttribute(HtmlTextWriterAttribute.Class, GetMenuCssClass(level));
597writer.AddAttribute(HtmlTextWriterAttribute.Type, "text/css");
UI\WebControls\PopOutPanel.cs (13)
85writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID + "Up");
91writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(scrollUpImageUrl));
94writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(Menu.ScrollUpImageIndex));
96writer.AddAttribute(HtmlTextWriterAttribute.Alt, _owner.ScrollUpText);
101writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID + "Dn");
107writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.ResolveClientUrl(scrollDownImageUrl));
110writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(Menu.ScrollDownImageIndex));
112writer.AddAttribute(HtmlTextWriterAttribute.Alt, _owner.ScrollDownText);
123writer.AddAttribute(HtmlTextWriterAttribute.Class, ScrollerClass + ' ' +
127writer.AddAttribute(HtmlTextWriterAttribute.Class, GetEmptyPopOutPanelStyle().RegisteredCssClass);
149writer.AddAttribute(HtmlTextWriterAttribute.Class, CssClass);
171writer.AddAttribute(HtmlTextWriterAttribute.Class,
179writer.AddAttribute(HtmlTextWriterAttribute.Class, CssClass);
UI\WebControls\RadioButton.cs (10)
195writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID);
196writer.AddAttribute(HtmlTextWriterAttribute.Type, "radio");
197writer.AddAttribute(HtmlTextWriterAttribute.Name, UniqueGroupName);
198writer.AddAttribute(HtmlTextWriterAttribute.Value, ValueAttribute);
205writer.AddAttribute(HtmlTextWriterAttribute.Checked, "checked");
209writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
233writer.AddAttribute(HtmlTextWriterAttribute.Onclick, onClick);
240writer.AddAttribute(HtmlTextWriterAttribute.Onclick, onClick);
246writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, s);
250writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, i.ToString(NumberFormatInfo.InvariantInfo));
UI\WebControls\TextBox.cs (15)
389writer.AddAttribute(HtmlTextWriterAttribute.Name, uniqueID);
412writer.AddAttribute(HtmlTextWriterAttribute.Rows, rows.ToString(NumberFormatInfo.InvariantInfo));
416writer.AddAttribute(HtmlTextWriterAttribute.Cols, columns.ToString(NumberFormatInfo.InvariantInfo));
420writer.AddAttribute(HtmlTextWriterAttribute.Wrap,"off");
425writer.AddAttribute(HtmlTextWriterAttribute.Maxlength, MaxLength.ToString(NumberFormatInfo.InvariantInfo));
434writer.AddAttribute(HtmlTextWriterAttribute.Type, GetTypeAttributeValue(mode));
446writer.AddAttribute(HtmlTextWriterAttribute.VCardName, name);
455writer.AddAttribute(HtmlTextWriterAttribute.AutoComplete, "off");
460writer.AddAttribute(HtmlTextWriterAttribute.AutoComplete, "on");
467writer.AddAttribute(HtmlTextWriterAttribute.Value, s);
473writer.AddAttribute(HtmlTextWriterAttribute.Maxlength, n.ToString(NumberFormatInfo.InvariantInfo));
477writer.AddAttribute(HtmlTextWriterAttribute.Size, n.ToString(NumberFormatInfo.InvariantInfo));
482writer.AddAttribute(HtmlTextWriterAttribute.ReadOnly, "readonly");
509writer.AddAttribute(HtmlTextWriterAttribute.Onchange, onChange);
536writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
UI\WebControls\TreeNode.cs (39)
694writer.AddAttribute((HtmlTextWriterAttribute)o, (string)list[i + 1]);
903writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
904writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
931writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex));
932writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
947writer.AddAttribute(HtmlTextWriterAttribute.Src, _owner.GetImageUrl(TreeView.IImageIndex));
948writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
1173writer.AddAttribute(HtmlTextWriterAttribute.Id, myId);
1181writer.AddAttribute(HtmlTextWriterAttribute.Href, GetPopulateNodeAttribute(writer, myId, SelectID, selectImageId, lineType, depth, isLast));
1190writer.AddAttribute(HtmlTextWriterAttribute.Href, href);
1194writer.AddAttribute(HtmlTextWriterAttribute.Href, GetToggleNodeAttributeValue(myId, lineType));
1203writer.AddAttribute(HtmlTextWriterAttribute.Href, href);
1211writer.AddAttribute(HtmlTextWriterAttribute.Src, imageUrl);
1214writer.AddAttribute(HtmlTextWriterAttribute.Alt,
1218writer.AddAttribute(HtmlTextWriterAttribute.Title,
1223writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
1226 writer.AddAttribute(HtmlTextWriterAttribute.Title, String.Empty);
1238writer.AddAttribute(HtmlTextWriterAttribute.Src, imageUrl);
1239writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
1364writer.AddAttribute(HtmlTextWriterAttribute.Id, selectImageId);
1367writer.AddAttribute(HtmlTextWriterAttribute.Tabindex, "-1");
1370writer.AddAttribute(HtmlTextWriterAttribute.Src, nodeImageUrl);
1373writer.AddAttribute(HtmlTextWriterAttribute.Alt, ImageToolTip);
1376writer.AddAttribute(HtmlTextWriterAttribute.Title, ImageToolTip);
1380writer.AddAttribute(HtmlTextWriterAttribute.Alt, String.Empty);
1383 writer.AddAttribute(HtmlTextWriterAttribute.Title, String.Empty);
1404writer.AddAttribute(HtmlTextWriterAttribute.Class, styleClass);
1422writer.AddAttribute(HtmlTextWriterAttribute.Type, "checkbox");
1424writer.AddAttribute(HtmlTextWriterAttribute.Name, id);
1425writer.AddAttribute(HtmlTextWriterAttribute.Id, id); // VSWhidbey 497326: Render id for easier client-side scripting
1427writer.AddAttribute(HtmlTextWriterAttribute.Checked, "checked");
1430writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
1433writer.AddAttribute(HtmlTextWriterAttribute.Class, WebControl.DisabledCssClass);
1438writer.AddAttribute(HtmlTextWriterAttribute.Title, ToolTip);
1450writer.AddAttribute(HtmlTextWriterAttribute.Class, styleClass);
1466writer.AddAttribute(HtmlTextWriterAttribute.Id, SelectID);
1522writer.AddAttribute(HtmlTextWriterAttribute.Id, myId + "Nodes");
1544writer.AddAttribute(HtmlTextWriterAttribute.Height, mergedStyle.ChildNodesPadding.ToString(CultureInfo.InvariantCulture));
1561writer.AddAttribute(HtmlTextWriterAttribute.Height, mergedStyle.ChildNodesPadding.ToString(CultureInfo.InvariantCulture));
UI\WebParts\WebPartChrome.cs (14)
302writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
303writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
304writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
337writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.ConvertToString(hAlign).ToLower(CultureInfo.InvariantCulture));
342writer.AddAttribute(HtmlTextWriterAttribute.Valign, vac.ConvertToString(vAlign).ToLower(CultureInfo.InvariantCulture));
346writer.AddAttribute(HtmlTextWriterAttribute.Id, GetWebPartTitleClientID(webPart));
371writer.AddAttribute(HtmlTextWriterAttribute.Src, Zone.ResolveClientUrl(webPart.TitleIconImageUrl) );
373writer.AddAttribute(HtmlTextWriterAttribute.Alt, GenerateDescriptionText(webPart));
396writer.AddAttribute(HtmlTextWriterAttribute.Href, Zone.ResolveClientUrl(url));
640writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
641writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "2");
642writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
652writer.AddAttribute(HtmlTextWriterAttribute.Id, GetWebPartChromeClientID(webPart));
697writer.AddAttribute(HtmlTextWriterAttribute.Valign, "top");
UI\WebParts\WebPartMenu.cs (19)
133writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID);
149writer.AddAttribute(HtmlTextWriterAttribute.Src, labelImageUrl);
167writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID + "Popup");
171writer.AddAttribute(HtmlTextWriterAttribute.Src, popupImageUrl);
198writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID + "Menu");
210writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
211writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "1");
235writer.AddAttribute(HtmlTextWriterAttribute.Title, alt);
246writer.AddAttribute(HtmlTextWriterAttribute.Href, "javascript:void(0)");
248writer.AddAttribute(HtmlTextWriterAttribute.Onclick,
260writer.AddAttribute(HtmlTextWriterAttribute.Href, "javascript:void(0)");
262writer.AddAttribute(HtmlTextWriterAttribute.Onclick,
272writer.AddAttribute(HtmlTextWriterAttribute.Href, "javascript:void(0)");
327writer.AddAttribute(HtmlTextWriterAttribute.Onclick, onclick);
334writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
340writer.AddAttribute(HtmlTextWriterAttribute.Class, disabledClass);
358writer.AddAttribute(HtmlTextWriterAttribute.Src, img);
360writer.AddAttribute(HtmlTextWriterAttribute.Width, "16");
361writer.AddAttribute(HtmlTextWriterAttribute.Height, "16");
UI\WebParts\WebPartZoneBase.cs (10)
1247writer.AddAttribute(HtmlTextWriterAttribute.Valign, "top");
1329writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
1330writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
1331writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
1347writer.AddAttribute(HtmlTextWriterAttribute.Align, "center");
1384writer.AddAttribute(HtmlTextWriterAttribute.Valign, "top");
1432writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
1433writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "2");
1434writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
1466writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.ConvertToString(hAlign));
UI\WebParts\WebZone.cs (11)
358writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
361writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, padding.ToString(CultureInfo.InvariantCulture));
363writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
388writer.AddAttribute(HtmlTextWriterAttribute.Valign, "top");
393writer.AddAttribute(HtmlTextWriterAttribute.DesignerRegion, "0");
395writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
396writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, Padding.ToString(CultureInfo.InvariantCulture));
397writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
563writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
564writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
565writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");