UI\Html32TextWriter.cs (26)
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);
545if (IsAttributeDefined(HtmlTextWriterAttribute.Align, out alignment)) {
546string[] attribs = new string[] { GetAttributeName(HtmlTextWriterAttribute.Align), alignment};
553if (!IsAttributeDefined(HtmlTextWriterAttribute.Cellpadding)) {
554AddAttribute(HtmlTextWriterAttribute.Cellpadding, "0");
556if (!IsAttributeDefined(HtmlTextWriterAttribute.Cellspacing)) {
557AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
560AddAttribute(HtmlTextWriterAttribute.Border, "0");
563AddAttribute(HtmlTextWriterAttribute.Width, "100%");
UI\HTMLTextWriter.cs (75)
230_attrKeyLookupTable = new Hashtable((int)HtmlTextWriterAttribute.VCardName + 1);
231_attrNameLookupArray = new AttributeInformation[(int)HtmlTextWriterAttribute.VCardName + 1];
233RegisterAttribute("abbr", HtmlTextWriterAttribute.Abbr, true);
234RegisterAttribute("accesskey", HtmlTextWriterAttribute.Accesskey, true);
235RegisterAttribute("align", HtmlTextWriterAttribute.Align, false);
236RegisterAttribute("alt", HtmlTextWriterAttribute.Alt, true);
237RegisterAttribute("autocomplete", HtmlTextWriterAttribute.AutoComplete, false);
238RegisterAttribute("axis", HtmlTextWriterAttribute.Axis, true);
239RegisterAttribute("background", HtmlTextWriterAttribute.Background, true, true);
240RegisterAttribute("bgcolor", HtmlTextWriterAttribute.Bgcolor, false);
241RegisterAttribute("border", HtmlTextWriterAttribute.Border, false);
242RegisterAttribute("bordercolor", HtmlTextWriterAttribute.Bordercolor, false);
243RegisterAttribute("cellpadding", HtmlTextWriterAttribute.Cellpadding, false);
244RegisterAttribute("cellspacing", HtmlTextWriterAttribute.Cellspacing, false);
245RegisterAttribute("checked", HtmlTextWriterAttribute.Checked, false);
246RegisterAttribute("class", HtmlTextWriterAttribute.Class, true);
247RegisterAttribute("cols", HtmlTextWriterAttribute.Cols, false);
248RegisterAttribute("colspan", HtmlTextWriterAttribute.Colspan, false);
249RegisterAttribute("content", HtmlTextWriterAttribute.Content, true);
250RegisterAttribute("coords", HtmlTextWriterAttribute.Coords, false);
251RegisterAttribute("dir", HtmlTextWriterAttribute.Dir, false);
252RegisterAttribute("disabled", HtmlTextWriterAttribute.Disabled, false);
253RegisterAttribute("for", HtmlTextWriterAttribute.For, false);
254RegisterAttribute("headers", HtmlTextWriterAttribute.Headers, true);
255RegisterAttribute("height", HtmlTextWriterAttribute.Height, false);
256RegisterAttribute("href", HtmlTextWriterAttribute.Href, true, true);
257RegisterAttribute("id", HtmlTextWriterAttribute.Id, false);
258RegisterAttribute("longdesc", HtmlTextWriterAttribute.Longdesc, true, true);
259RegisterAttribute("maxlength", HtmlTextWriterAttribute.Maxlength, false);
260RegisterAttribute("multiple", HtmlTextWriterAttribute.Multiple, false);
261RegisterAttribute("name", HtmlTextWriterAttribute.Name, false);
262RegisterAttribute("nowrap", HtmlTextWriterAttribute.Nowrap, false);
263RegisterAttribute("onclick", HtmlTextWriterAttribute.Onclick, true);
264RegisterAttribute("onchange", HtmlTextWriterAttribute.Onchange, true);
265RegisterAttribute("readonly", HtmlTextWriterAttribute.ReadOnly, false);
266RegisterAttribute("rel", HtmlTextWriterAttribute.Rel, false);
267RegisterAttribute("rows", HtmlTextWriterAttribute.Rows, false);
268RegisterAttribute("rowspan", HtmlTextWriterAttribute.Rowspan, false);
269RegisterAttribute("rules", HtmlTextWriterAttribute.Rules, false);
270RegisterAttribute("scope", HtmlTextWriterAttribute.Scope, false);
271RegisterAttribute("selected", HtmlTextWriterAttribute.Selected, false);
272RegisterAttribute("shape", HtmlTextWriterAttribute.Shape, false);
273RegisterAttribute("size", HtmlTextWriterAttribute.Size, false);
274RegisterAttribute("src", HtmlTextWriterAttribute.Src, true, true);
275RegisterAttribute("style", HtmlTextWriterAttribute.Style, false);
276RegisterAttribute("tabindex", HtmlTextWriterAttribute.Tabindex, false);
277RegisterAttribute("target", HtmlTextWriterAttribute.Target, false);
278RegisterAttribute("title", HtmlTextWriterAttribute.Title, true);
279RegisterAttribute("type", HtmlTextWriterAttribute.Type, false);
280RegisterAttribute("usemap", HtmlTextWriterAttribute.Usemap, false);
281RegisterAttribute("valign", HtmlTextWriterAttribute.Valign, false);
282RegisterAttribute("value", HtmlTextWriterAttribute.Value, true);
283RegisterAttribute("vcard_name", HtmlTextWriterAttribute.VCardName, false);
284RegisterAttribute("width", HtmlTextWriterAttribute.Width, false);
285RegisterAttribute("wrap", HtmlTextWriterAttribute.Wrap, false);
286RegisterAttribute(DesignerRegionAttributeName, HtmlTextWriterAttribute.DesignerRegion, false);
628protected static void RegisterAttribute(string name, HtmlTextWriterAttribute key) {
632private static void RegisterAttribute(string name, HtmlTextWriterAttribute key, bool encode) {
636private static void RegisterAttribute(string name, HtmlTextWriterAttribute key, bool encode, bool isUrl) {
701HtmlTextWriterAttribute attributeKey = GetAttributeKey(name);
715public virtual void AddAttribute(HtmlTextWriterAttribute key,string value) {
723public virtual void AddAttribute(HtmlTextWriterAttribute key,string value, bool fEncode) {
731protected virtual void AddAttribute(string name, string value, HtmlTextWriterAttribute key) {
736private void AddAttribute(string name, string value, HtmlTextWriterAttribute key, bool encode, bool isUrl) {
802protected virtual string EncodeAttributeValue(HtmlTextWriterAttribute attrKey, string value) {
822protected HtmlTextWriterAttribute GetAttributeKey(string attrName) {
826return(HtmlTextWriterAttribute)key;
829return(HtmlTextWriterAttribute)(-1);
832protected string GetAttributeName(HtmlTextWriterAttribute attrKey) {
865protected bool IsAttributeDefined(HtmlTextWriterAttribute key) {
874protected bool IsAttributeDefined(HtmlTextWriterAttribute key, out string value) {
905protected virtual bool OnAttributeRender(string name, string value, HtmlTextWriterAttribute key) {
1015if (attr.key == HtmlTextWriterAttribute.Style) {
1027if (attr.key != HtmlTextWriterAttribute.Href || !attrValue.StartsWith("javascript:", StringComparison.Ordinal)) {
1382public HtmlTextWriterAttribute key;
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 (13)
134writer.AddAttribute(HtmlTextWriterAttribute.Usemap, "#ImageMap" + ClientID, false);
183writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "disabled");
192writer.AddAttribute(HtmlTextWriterAttribute.Name, fullClientID);
193writer.AddAttribute(HtmlTextWriterAttribute.Id, fullClientID);
204writer.AddAttribute(HtmlTextWriterAttribute.Shape, item.MarkupName, false);
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 (35)
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,
941writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, accessKey, true);
949writer.AddAttribute(HtmlTextWriterAttribute.Disabled, "true");
954writer.AddAttribute(HtmlTextWriterAttribute.Href, "#");
958writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, accessKey, true);
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 (47)
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);
1254anchorAttributes.Add(HtmlTextWriterAttribute.Href);
1265anchorAttributes.Add(HtmlTextWriterAttribute.Target);
1307anchorAttributes.Add(HtmlTextWriterAttribute.Href);
1313anchorAttributes.Add(HtmlTextWriterAttribute.Href);
1325anchorAttributes.Add(HtmlTextWriterAttribute.Href);
1332anchorAttributes.Add(HtmlTextWriterAttribute.Href);
1352anchorAttributes.Add(HtmlTextWriterAttribute.Title);
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);
1478writer.AddAttribute(HtmlTextWriterAttribute.Accesskey, _owner.AccessKey, true);
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\CatalogPartChrome.cs (9)
104writer.AddAttribute(HtmlTextWriterAttribute.Cellspacing, "0");
106writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "2");
107writer.AddAttribute(HtmlTextWriterAttribute.Border, "0");
181writer.AddAttribute(HtmlTextWriterAttribute.Type, "checkbox");
182writer.AddAttribute(HtmlTextWriterAttribute.Id, Zone.GetCheckBoxID(value));
183writer.AddAttribute(HtmlTextWriterAttribute.Name, Zone.CheckBoxName);
184writer.AddAttribute(HtmlTextWriterAttribute.Value, value);
206writer.AddAttribute(HtmlTextWriterAttribute.For, Zone.GetCheckBoxID(value));
207writer.AddAttribute(HtmlTextWriterAttribute.Title, description, true /* fEncode */);
UI\WebParts\WebPartChrome.cs (15)
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));
390writer.AddAttribute(HtmlTextWriterAttribute.Title, GenerateDescriptionText(webPart), true);
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 (22)
133writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID);
149writer.AddAttribute(HtmlTextWriterAttribute.Src, labelImageUrl);
150writer.AddAttribute(HtmlTextWriterAttribute.Alt,
167writer.AddAttribute(HtmlTextWriterAttribute.Id, clientID + "Popup");
171writer.AddAttribute(HtmlTextWriterAttribute.Src, popupImageUrl);
172writer.AddAttribute(HtmlTextWriterAttribute.Alt,
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);
359writer.AddAttribute(HtmlTextWriterAttribute.Alt, alt, true);
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");