R
Randall Parker
I'm wondering if there are general rules for the use of HTML attributes with ASP tags?
For example, one can set an id for an aspataGrid and it will show up as the id for
the resulting HTML table.
So then can one set, say, a class for an aspataGrid and all other asp tags that map
one-to-one to HTML tags and have it pass thru? I'd like to use class in particular to
map the resulting generated HTML to CSS names. I just tried this and this worked. The
CLASS showed up with the table tag as an attribute. Is it usually supposed to work?
Also, aspataGrid maps to table. So then can one just put cellpadding or other legal
attributes of a table as attributes for an aspataGrid attribute and have them pass
thru?
Doing this sort of thing with HTML tag attributes with ASP.Net tags seems to work.
But I'm wondering if this is considered normal practice or practice to avoid except
in rare cases or what?
For example, one can set an id for an aspataGrid and it will show up as the id for
the resulting HTML table.
So then can one set, say, a class for an aspataGrid and all other asp tags that map
one-to-one to HTML tags and have it pass thru? I'd like to use class in particular to
map the resulting generated HTML to CSS names. I just tried this and this worked. The
CLASS showed up with the table tag as an attribute. Is it usually supposed to work?
Also, aspataGrid maps to table. So then can one just put cellpadding or other legal
attributes of a table as attributes for an aspataGrid attribute and have them pass
thru?
Doing this sort of thing with HTML tag attributes with ASP.Net tags seems to work.
But I'm wondering if this is considered normal practice or practice to avoid except
in rare cases or what?