|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Controling table layout dynamically.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 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 > >
Other interesting topics
Is there a way to detect user screen resolution in server side code?
ASP.NET stopped working Viewstate String InvalidCastException how to determine .NET framework version Microsoft Bug Transparent images Render multiple images Post-Daten aus HttpSendReuqest auslesen Textbox inside a repeater. how to access datarow in post back event. Getting user password from Active Directory |
|||||||||||||||||||||||