Border Attribute on Table Webcontrol

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Keith (keith_at_keithadler.com)
Date: 02/01/04


Date: Sun, 1 Feb 2004 00:05:55 -0800

Code sample would help. Otherwise this could be about 10
different issues.

>-----Original Message-----
>When I create a Table webcontrol programmatically (no
static table tag in
>the aspx file), it renders in the HTML with a border
attribute set to "0".
>
>If I add my own border attribute--MyTable.Attributes.Add
("border",
>"1")--with a value of "1", the border attribute shows up
twice in the HTML
>tag in the browser.
>
>How can I suppress the default border attribute of "0"
for the Table
>webcontrol?
>
>Thanks
>Phil
>
>
>.
>



Relevant Pages

  • Re: node.innerHTML = ... not working in IE
    ... > place the suggest_box div node right next to the textbox so ... So why not set the inner HTML before you insert the node (or use W3C DOM ... > thrown on line 10 in CODE SAMPLE 1): ... P element also has an optional closing tag, which may be implied by the ...
    (comp.lang.javascript)
  • Re: ruby html (or xhtml) forms class...
    ... xx is a library designed to extend ruby objects with html, xhtml, and xml ... xml or xhtml as clean looking and natural as ruby it self. ... attributes may be passed to any tag method as either symbol or string. ...
    (comp.lang.ruby)
  • Re: CSS Safari Problem (Mac)
    ... indirectly quoted, ... anything to say on my point: mixing HTML 4.01 and XHTML 1.0 is clueless. ... The closed meta tag was copied and pasted from Google's Webmaster ... But since this is Usenet, many likely are aware that the theme song ...
    (alt.html)
  • Re: Dynamically assigning functions with parameters to events
    ... which in turn does the work at mouseover-time: ... `onmouseover' is an attribute of the `body' element in Valid HTML ... its start tag. ... That it works in a handful of ...
    (comp.lang.javascript)
  • Re: non-backtracking subexpression
    ... (The regex could be split in several lines once this message is ... Here the html element of interest is located. ... opening tag, closing tag, and the text in between the tags. ... This expression matches the opening tag. ...
    (microsoft.public.dotnet.languages.csharp)