Home All Groups Group Topic Archive Search About

Controling table layout dynamically.

Author
10 Jun 2005 12:41 PM
Bredahl jensen
Hello,

I have a set of tables inside a custom webcontrol.  I need to ajust the
height and width attributes of all rows and columns according to client
screen  resolution.

I have added the the "id" and "runat" attributes to the tables.

How do i best do this?

They tables are authored in the aspx file. I have declared
a correponding HtmlTable object in the code behind file.


How do i best approch this issue?


Any help will be warmly cheered.


JB

Author
10 Jun 2005 3:51 PM
Bruce Barker
this is best done with client code. also unlike a windows app, there is no
api to get the size of strings (wehile you can do it on the server - it
doen't match the client). also the window fonts size (large, small) selected
by the users will have a big impact.

-- bruce (sqlwork.com)


Show quoteHide quote
"Bredahl jensen" <bredhal.jen***@yahoo.dk> wrote in message
news:%239be9mbbFHA.1404@TK2MSFTNGP09.phx.gbl...
>
> Hello,
>
> I have a set of tables inside a custom webcontrol.  I need to ajust the
> height and width attributes of all rows and columns according to client
> screen  resolution.
>
> I have added the the "id" and "runat" attributes to the tables.
>
> How do i best do this?
>
> They tables are authored in the aspx file. I have declared
> a correponding HtmlTable object in the code behind file.
>
>
> How do i best approch this issue?
>
>
> Any help will be warmly cheered.
>
>
> JB
>
>

Bookmark and Share