Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Set height of footer webdatagrid
posted

Hi, how can i set the height of the footer.

<ig:WebDataGrid ID="WebDataGridPlaneamentoHorarios" runat="server" Height="500px"
AutoGenerateColumns="False" Width="1300px" BorderColor="#666666"
ShowFooter="True" >
<Columns>
<ig:BoundDataField DataFieldName="ID" Key="ID" Width="50px" Hidden="true">
<Header Text="ID" />
</ig:BoundDataField>

<ig:BoundDataField DataFieldName="Nome" Key="Nome" Width="100px">
<Header Text="Nome" />
<Footer TemplateId="footerTemplate" CssClass=""; />

</ig:BoundDataField>
<ig:TemplateDataField Key="Segmentos" Width="1510px">
<ItemTemplate>
<uc1:Segmento ID="Segmento1" runat="server" />
</ItemTemplate>
<Header Text="Segmentos" />
<FooterTemplate >
<div id="Quant"> <uc2:SegNecessidades ID="SegNecessidades" runat="server" /></div>
<br /><br /> <div id="Totais"><uc2:SegNecessidades ID="SegNecessidades2" runat="server" /></div>


</FooterTemplate>

</ig:TemplateDataField>

</Columns>
<Templates>
<ig:ItemTemplate ID="WebDataGridPlaneamentoHorariosTemplate1" runat="server"
TemplateID="footerTemplate">
<Template >
<uc3:FooterControl ID="FooterC" runat="server" />
</Template>
</ig:ItemTemplate>
</Templates>
</ig:WebDataGrid>

in this gird ive got a user control on the footer, that user control connects to  a database on page load and create diferent lines, in this case 50.

What i want to do is restrict the height of the footer, so that the footer doesnt occupied all the grid, if possible the user can view 3 or 4 lines, and a scroll next to it to pull down and see the rest.

Thanks in advance...