-
Curious behavior in the HtmlTableRow Cell collection
Im trying to add a cell to 2 rows
ex:
dim myCell as HtmlTableCell()
myCell = new HtmlTableCell()
myCell.innerText = "pelle"
InHead.Cells.Add(myCell)
UtHead.Cells.Add(myCell)
******************'''
(UtHead and InHead being HtmlTableRows)
what happens is that the cell only makes it's appearence in UtHead, but not
in InHead!
of course I can solve this by making 2 cells and giving them the same
attributes, but it looks ugly.
I thought that generally collections where just arrays of references, and
that referencing the same object from 2 places was ok. Anyone know why this
doesnt work, and a better way of doing this than having to separate cells? -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks