-
Cell Width not adjusted properly
I'm adding couple of rows in an existing table, dynamically at run time. How can I specify the added cells to be in the same width of the existing cells.
What happens is that the cells in the added rows are of less width than the previous cell width.
Here is the code:
rr = new Tablerow();
cl = new TableCell();
DropdownList dr = new DropDownList();
dr.Items.Add ("My first item");
dr.Items.Add ("My Second item");
cl.Controls.Add (dr);
rr.Cells.Add (cl);
this.Table_sample.Rows.Add (rr);
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