Re: GridView Height

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



GridViews display tabular data and are rendered as tables (at least in
IE). The gridview rows are rendered as <tr> elements within the
<table>...You get the idea.

Do you want to have an empty space at the bottom when the total rows
are less than ceiling(150/18)?
To achieve that look, gridview would have to render an extra row + a
cell that spans the entire of this extra row which fills the remaining
space in height.

It might just be possible to achieve what you want by showing the
gridview footer and making the footer height fill this extra space.
Someone more expert than I in html/css might be able to help you with
the style needed.
Then you can modify your gridview's <FooterStyle> accordingly.

Regards.

.



Relevant Pages

  • Re: Gridview render control error in content page
    ... Sorry Stan, my posting was not explicit enough. ... Am trying to render a gridview control in anASP.Net app. ...
    (microsoft.public.dotnet.framework.aspnet)
  • How can I prevent spaces between tags being rendered?
    ... How can I prevent spaces between tags being rendered? ... Why do browsers render the white space between the ... GridView rendering code. ... border-right: 1px solid #c5c5c5; ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Dumb Gridview Question
    ... that it renderes of page load before the form has been submitted. ... ideas on how to make it only render on postback? ... I have sqldatasource that uses form parameters to call a stored ... I have a gridview that is bound to the sqldatasource ...
    (microsoft.public.dotnet.framework.aspnet)
  • Gridview render control error in content page
    ... Am trying to render a gridview control in anASP.Net app. ... inside a form tag with runat=server, which I don't think is possible because ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Insert Button. ListView or GridView. Is this possible?
    ... and the gridview will be updated reflecting these changes. ... and in the footer I placed 2 textboxes and an "Add" button. ... string szNumberOfPages = ... When this button is clicked the Grid goes to Edit mode and the data is ...
    (microsoft.public.dotnet.framework.aspnet)