Set Panel width

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

I am using the asp:Panel control to create scrollable GridViews, etc. I
would like to dynamically set the width to 105% of the GridView width rather
than the percentage of the page width. Does anyone know how to do that? i
couldn't find anything in Panel.Width property settings. Thanks.

David
 
I am using the asp:Panel control to create scrollable GridViews, etc.
I would like to dynamically set the width to 105% of the GridView
width rather than the percentage of the page width. Does anyone know
how to do that? i couldn't find anything in Panel.Width property
settings. Thanks.

Remove height and width and use CSS styles on the panel.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Gregory A. Beamer said:
Remove height and width and use CSS styles on the panel.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************

Gregory,
Can you give me an example? I am unsure how that would be any different
since the width of the GridView varies based on the length of data in the
columns. Thanks.

David
 
Back
Top