Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4622824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:53:52+00:00 2026-05-22T02:53:52+00:00

I have a page in ASP.net that has a table that gets autogenerated based

  • 0

I have a page in ASP.net that has a table that gets autogenerated based upon a datatable and shown using a Telerik RadGrid, I want the page size to remain unchanged and if the table is too wide it should have its own scroll bars.

I have tested using IE9 and Firefox and they both put a scroll bar on the page instead of the table.
Not working

if I use the web dev toolbar in IE9 and set the mode to IE7 it renders how I want with the scroll on the table!How I want it to work

The ASP markup code looks as follows:

<%@ Page Title="Data Audit" Language="C#" Theme="Editor" MasterPageFile="~/MasterPages/MasterPlanEditor.Master"
    AutoEventWireup="True" CodeBehind="DataAudit.aspx.cs" Inherits="IFMA.MasterPlan.Web.Modules.Administrator.DataAuditing.DataAudit" %>

<%@ Register Src="../../../Common/Controls/ContentTitleBar.ascx" TagName="ContentTitleBar"
    TagPrefix="IFMA" %>
<%@ Register Src="../../../Common/Controls/CMSSection.ascx" TagName="CMSSection"
    TagPrefix="IFMA" %>
<%@ Register Src="../../../Common/Controls/PageMessage.ascx" TagName="PageMessage"
    TagPrefix="IFMA" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <!-- AJAX --->
    <telerik:RadAjaxManager ID="AjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxPanel">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel" LoadingPanelID="AjaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="AjaxLoadingPanel" runat="server" Skin="Default" />
    <telerik:RadTabStrip ID="TabStrip" runat="server" Skin="Default">
        <Tabs>
            <telerik:RadTab Text="Data Audit" Selected="true">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <div class="BlueContentContainer">
        <div class="PaddingContentContainer">
            <IFMA:PageMessage ID="pageMessage" runat="server" />
            Please select the audit entity:
            <telerik:RadComboBox ID="cmbAuditSelection" runat="server" AllowCustomText="false"
                OnItemsRequested="cmdAuditSelection_OnItemsRequested" EnableLoadOnDemand="true"
                Width="350px" OnSelectedIndexChanged="cmbAuditSelection_OnSelectedIndexChanged"
                CausesValidation="false" AppendDataBoundItems="true" EmptyMessage="Please Select"
                AutoPostBack="true" Skin="Office2007" />
            <br />
            <br />
            <asp:Panel ID="GridPanel" BorderderStyle="Solid" BorderColor="MenuBar" ScrollBars="Auto"
                Height="98%" runat="server">
                <telerik:RadGrid ID="Grid" Skin="Office2007" AllowPaging="false" Style="width: auto"
                    ShowGroupPanel="false" runat="server" OnColumnCreated="Grid_OnColumnCreated"
                    GridLines="Both">
                    <MasterTableView AutoGenerateColumns="True" HeaderStyle-Wrap="false" ShowHeadersWhenNoRecords="false" />
                </telerik:RadGrid>
            </asp:Panel>
        </div>
    </div>
</asp:Content>

and the css

I’m going crazy trying to figure this out, I haven’t done a lot of CSS so hopefully someone here might know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:53:53+00:00Added an answer on May 22, 2026 at 2:53 am

    you can wrap the table with a

    <div style="overflow:auto">
    
    your table here
    
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web page that has an HTML table generated by an ASP.NET
I have an ASP.NET Site that has a single Master Page. On one of
On my C# asp.net webform I have a search page that has roughly 20
In my ASP.NET page, I have an input box that has to have the
I have a ASP.NET web page that contains many textboxes. Each textbox has a
I have a lengthy asp.net page. A HTML table in the page has a
I have an ASP.NET page that has two input elements: A TextBox that is
I have created a web page (ASP.NET) that includes a stylesheet to mimic Dynamics
I have an ASP.Net page that will be hosted on a couple different servers,
I have an ASP.NET page that uses a repeater nested within another repeater to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.