tableName.Attributes.Add("width","100%")
--
Curt Christianson
site:
http://www.darkfalz.com
blog:
http://blog.darkfalz.com
"Don Nablo" wrote:
> With an asp table I can do this to get it to be 100% of screen.
> <asp:table id="Table1" runat="server" Width="100%">
>
> But I can't find out how to set it via the properties of the table during
> the page_load event.
>
> Sub Page_Load(......)
>
> Table1.Width = "100%" 'this is not the right class since it requires a
> unit class to set. But how would I tell the unit class that it is to be
> 100%?
>
>
>
>