This is a migrated thread and some comments may be shown as answers.

Missing Horizontal Scrolling Bar

5 Answers 138 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sammy
Top achievements
Rank 1
Sammy asked on 13 Feb 2013, 10:40 PM
I've got a RadGrid that I'm populating via AJAX. For some reason, the horizontal scrolling bar is not showing up. The columns are chopped off to the right side, and the rest of the columns don't show.

Here is what my .aspx page looks like:

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnRequestStart="requestStart">
 
    <telerik:RadGrid ID="radQueryResults" runat="server"  Visible=false
    AutoGenerateColumns="true" ClientSettings-Selecting-AllowRowSelect="true" AllowMultiRowSelection="true"
    Width="1000" >
 
            <ClientSettings>
                 <Scrolling AllowScroll="true" ScrollHeight="400px" UseStaticHeaders="true"    />
            </ClientSettings>
 
        <MasterTableView CommandItemDisplay="Top" TableLayout="Auto" >
            <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" ></CommandItemSettings>
        </MasterTableView>
        <ExportSettings>
            <Excel Format="Biff"></Excel>
        </ExportSettings>
        </telerik:RadGrid>



Any suggestions on how to get that horizontal scrolling bar?

Thanks!

5 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 14 Feb 2013, 07:42 PM
Hi Sammy,

I wasn't able to replicate your issue. I used your code to connect to a local sql source (Northwnd.mdf) and the only thing I changed was to set  ' visible="true" ' instead of to 'false'. Is the grid populated when the page loads or is it populated during a postback? The fact that visible=false may have something to do with the scrollbar not showing up. Does the vertical scrollbar not show up as well? An attached screenshot and / or more code surrounding your RadGrid may also help diagnose the issue.

Hopefully this helps,
Master Chief
0
Sammy
Top achievements
Rank 1
answered on 14 Feb 2013, 07:56 PM
Exellent Idea.

Attached is a screenshot of my ouput.
There is a veritcal scrollbar.

When the page loads, the grid is not visible. When they click a button, a form gets ajax submitted, and populates the grid.

You can see one of the columns is chopped, and in fact, there are even more columns that aren't showing up.

Thanks for your time.
0
Pavlina
Telerik team
answered on 18 Feb 2013, 10:28 PM
Hi,

Can you specify the version of RadControls you are using in your project and which is the full browser version the issue replicates on?

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Sammy
Top achievements
Rank 1
answered on 18 Feb 2013, 10:57 PM
Sure.
I'm using
RadControls for ASP.NET AJAX Q3 2012 build
(that's what my shortcut menu link displays. If you want me to look/check somewhere else, let me know).

I'm using IE9. Attached is a screenshot of the about dialog.
0
Pavlina
Telerik team
answered on 21 Feb 2013, 09:28 PM
Hi,

Attached to this message is a runnable project which is working as expected using the provided code. Give it a try and see if it helps.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Sammy
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Sammy
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or