Welcome Guest Search | Active Topics | Sign In | Register

Grid and Scrollbar attribute Options
Ronald
Posted: Friday, October 2, 2009 9:13:27 AM
Rank: Member
Groups: Member

Joined: 8/21/2008
Posts: 24
Hi,

after changing my project from EO 2008 to the actual version 7, I discovered a problem with the Grid object, when using the "Scrollbar" attribute.

The grid will be filled with some objects:

Code: C#
protected void Page_Load(object sender, EventArgs e)
        {
            Grid1.DataSource = new Object[32];
            Grid1.DataBind();
        }


Just a small Grid, with the "Windows Vista style":
Code: HTML/ASPX
<eo:Grid ID="Grid1" runat="server" BorderColor="#828790" BorderWidth="1px" 
            ColumnHeaderAscImage="00050204" ColumnHeaderDescImage="00050205" 
            ColumnHeaderDividerImage="00050203" ColumnHeaderHeight="24" 
            FixedColumnCount="1" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma" 
            Font-Overline="False" Font-Size="8.75pt" Font-Strikeout="False" 
            Font-Underline="False" GridLineColor="240, 240, 240" GridLines="Both" 
            Height="200px" ItemHeight="19" Width="316px" ScrollBars="Auto">
            <FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" />
            <ItemStyles>
                <eo:GridItemStyleSet>
                    <ItemStyle CssText="background-color: white" />
                    <ItemHoverStyle CssText="background-image: url(00050206); background-repeat: repeat-x" />
                    <SelectedStyle CssText="background-image: url(00050207); background-repeat: repeat-x" />
                    <CellStyle CssText="padding-left:8px;padding-top:2px;white-space:nowrap;" />
                </eo:GridItemStyleSet>
            </ItemStyles>
            <ColumnTemplates>
                <eo:TextBoxColumn>
                    <TextBoxStyle CssText="BORDER-RIGHT: #7f9db9 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7f9db9 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 8.75pt; PADDING-BOTTOM: 1px; MARGIN: 0px; BORDER-LEFT: #7f9db9 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #7f9db9 1px solid; FONT-FAMILY: Tahoma" />
                </eo:TextBoxColumn>
            </ColumnTemplates>
            <ColumnHeaderHoverStyle CssText="background-image:url('00050202');padding-left:8px;padding-top:4px;" />
            <Columns>
                <eo:RowNumberColumn>
                </eo:RowNumberColumn>
                <eo:StaticColumn HeaderText="Header">
                </eo:StaticColumn>
                <eo:StaticColumn HeaderText="Header">
                </eo:StaticColumn>
            </Columns>
            <ColumnHeaderStyle CssText="background-image:url('00050201');padding-left:8px;padding-top:4px;" />
        </eo:Grid>


When I change the attribute
Code: HTML/ASPX
ScrollBars="Auto"

to
Code: HTML/ASPX
ScrollBars="Vertical"


a small section between the last column and the scrollbar and below the last data row (one will be missing) and the border of the Grid appears.

Is this a bug or do I need an additional attribute for change this behaviour?

Thanks
Ronald
eo_support
Posted: Friday, October 9, 2009 9:04:09 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is just to let you know that we are still working on this issue. It appears to be a bug and hopefully we can fix it soon.

Thanks!
eo_support
Posted: Thursday, November 19, 2009 8:43:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have posted a new build (2009.0.36) that should fix this problem. You can download the new build from our download page.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.