Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
helo
using visual studio.net developing a project, i am displaying age distribution for every age group.
when page displays it display results in grid at center (i specified)
i want to display it in center but with auto size the length with respect to main window, there are 67 columns to display, how to autofit it?
can anybody help me out?
Posted

1 solution

By length, you mean width ? Just use CSS to tell the columns to size themselves to fit across the page size. You may need a repeater to give yourself full control over the html generated, but I doubt it.
 
Share this answer
 
v2
Comments
Sandeep Mewara 23-Jun-11 5:18am    
Comment from OP:
yes length and width,
as we have properties for main window display
it is layout -> window state -> that can be maximize, i was checking same for grid

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900