troubleshooting Question

using a <div>

Avatar of DJ_AM_Juicebox
DJ_AM_Juicebox asked on
HTML
10 Comments1 Solution1717 ViewsLast Modified:
Hi,

I'm using some ASP.NET controls to make a simple web interface. I'm trying to stick a grid control inside a <div> but it seems to keep spilling outside of the <div> borders. Why is it doing this? Below is the exact code:

    <div id = "DivListSettings" style="left:20px; top:300px; height:200px; width:200px; border:1px solid black; position:absolute">    
        <radg:radgrid id="RadGrid1" runat="server" autogeneratecolumns="False" enableajax="True"
            gridlines="None" onneeddatasource="RadGrid1_NeedDataSource" BorderStyle="Solid" BorderWidth="2px" Height="60px" Width="263px">
            <ClientSettings>
                <Selecting AllowRowSelect="True"></Selecting>
                <Scrolling UseStaticHeaders="True" AllowScroll="True"></Scrolling>
            </ClientSettings>
            <MasterTableView>
                <Columns>
                    <radG:GridBoundColumn AllowSorting="False" UniqueName="column" HeaderText="Settings"></radG:GridBoundColumn>
                </Columns>
                <ExpandCollapseColumn Visible="False">
                    <HeaderStyle Width="19px"></HeaderStyle>
                </ExpandCollapseColumn>
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
            </MasterTableView>
        </radg:radgrid>
    </div>

I thought the radg:radgrid  control would be inside the top <div> It seems to follow the origin set by the div, but doesn't respect its boundaries.

Thanks
ASKER CERTIFIED SOLUTION
G0ggy

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 1 Answer and 10 Comments.
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>

Mike

Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 1 Answer and 10 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004