troubleshooting Question

using a <div>

Avatar of DJ_AM_Juicebox
DJ_AM_Juicebox asked on
10 Comments1 Solution1717 ViewsLast Modified:

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">
                <Selecting AllowRowSelect="True"></Selecting>
                <Scrolling UseStaticHeaders="True" AllowScroll="True"></Scrolling>
                    <radG:GridBoundColumn AllowSorting="False" UniqueName="column" HeaderText="Settings"></radG:GridBoundColumn>
                <ExpandCollapseColumn Visible="False">
                    <HeaderStyle Width="19px"></HeaderStyle>
                <RowIndicatorColumn Visible="False">
                    <HeaderStyle Width="20px"></HeaderStyle>

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.


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.
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 >>


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