wylbur
08-08-2006, 07:27 PM
Hi,
I'm loading a string to a read-only textbox in ASP.NET,
which is in a table cell container. Upon rendering,
about half of the string is visible within the textbox/tablecell,
with the rest of it being truncated (there is another cell to the right
of the aforementioned tablecell container). I know that the entire
string is on the webpage, as I can see it when I look at the source.
I can use DIV tags with CSS to set a fixed width, and I can expand
the table cell out to whatever width I want using this approach,
revealing more and more of the textbox as I make the DIV CSS wider
- but this is not what I want to do.
I want the width of the column of the table cells to expand out
to accommodate the width of the longest string within the longest textbox.
Can anyone give me a clue as to how best to do that?
Thanks in advance!
I'm loading a string to a read-only textbox in ASP.NET,
which is in a table cell container. Upon rendering,
about half of the string is visible within the textbox/tablecell,
with the rest of it being truncated (there is another cell to the right
of the aforementioned tablecell container). I know that the entire
string is on the webpage, as I can see it when I look at the source.
I can use DIV tags with CSS to set a fixed width, and I can expand
the table cell out to whatever width I want using this approach,
revealing more and more of the textbox as I make the DIV CSS wider
- but this is not what I want to do.
I want the width of the column of the table cells to expand out
to accommodate the width of the longest string within the longest textbox.
Can anyone give me a clue as to how best to do that?
Thanks in advance!