RE: Web user control content doesn't resize in web form table
The only suggestion I could give is to wrap the table with a <div> tag, and
set the width of that <div> to be 100%. ASP.NET controls will have to be
transformed into HTML before being presented on the browser. Therefore,
these controls have the same limitations as HTML.
I am not sure when ASP.NET generates the HTML code during your Page_Load
event, does it generate the width in percentage or fixed pixels? That
really depends what content is added inside the 2nd column. If there is a
line of text inside the 2nd column which does not contain a space, then the
long string will basically define the width of the table. That's because
the cell will not break a non-breakable (strings that do not have space)
string into 2 lines.
Hope this helps,
|All times are GMT. The time now is 08:03 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.