Hiya ... I seem to have the opposite issue of many in the searches I did on Grid and Width and Scrolling. Most seem to get the Browser horizontal scroll bar and want the grid to scroll not the page. With our last release we'd set our page to be a fixed width, and added a div around the Grids so that the grids could be scrolled independent of the page itself. Users are clamoring to have it back to the old way. Unfortunately, with our last release I also updated the control suite to the ASP .NET AJAX as well, and now when I remove the div we placed to scroll the grid, the page scroll does not appear.
Instead, the grid takes up as much of the screen as is available, but the times when the width of the populated columns is greater than the page width, the grid border ends, the data columns extend off the page, but no browser horizontal scroll bar appears.
Help? :)
RadControls for ASPNET AJAX Q1 2009
Microsoft Internet Explorer 7.x
Below is the grid aspx ... I've tried setting both the full RadGrid and the MasterTableView and both to 100% and no change.
Instead, the grid takes up as much of the screen as is available, but the times when the width of the populated columns is greater than the page width, the grid border ends, the data columns extend off the page, but no browser horizontal scroll bar appears.
Help? :)
RadControls for ASPNET AJAX Q1 2009
Microsoft Internet Explorer 7.x
Below is the grid aspx ... I've tried setting both the full RadGrid and the MasterTableView and both to 100% and no change.
<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Office2007" |
OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="True" |
EnableAJAX="True" EnableAJAXLoadingTemplate="True" AllowMultiRowSelection="true" |
LoadingTemplateTransparency="25" AllowPaging="false" |
onitemcommand="RadGrid1_ItemCommand" GridLines="None" |
onitemcreated="RadGrid1_ItemCreated" ShowFooter="True"> |
<PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" Position="Top" HorizontalAlign="Left" /> |
<MasterTableView CommandItemDisplay="None" > |
<ExpandCollapseColumn Visible="False" Resizable="False"> |
<HeaderStyle Width="20px" /> |
</ExpandCollapseColumn> |
<RowIndicatorColumn Visible="False"> |
<HeaderStyle Width="20px" /> |
</RowIndicatorColumn> |
<Columns> |
<telerik:GridClientSelectColumn UniqueName="SelectCheckbox" /> |
</Columns> |
<CommandItemTemplate> |
<div id="my_command_template"> |
<asp:LinkButton ID="LinkButton_exportToExcel" runat="server" CommandName="ExportToExcel" ToolTip="Export to Excel"></asp:LinkButton> <asp:CheckBox ID="CheckBox_ignorePaging" Checked="true" runat="server" Text="... include data on all pages." /> |
<asp:LinkButton ID="LinkButton_excludedAssets" runat="server" CommandName="ExcludedAssetsShow"></asp:LinkButton> |
<asp:LinkButton ID="LinkButton_exportToExcel_mass" runat="server" CommandName="ExportToExcel_mass" ></asp:LinkButton> |
</div> |
</CommandItemTemplate> |
</MasterTableView> |
<HeaderContextMenu EnableTheming="True" Skin="Office2007"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</HeaderContextMenu> |
<AlternatingItemStyle BackColor="FloralWhite" /> |
<ClientSettings> |
<Selecting AllowRowSelect="True" /> |
</ClientSettings> |
<FilterMenu EnableTheming="True" Skin="Office2007"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</FilterMenu> |
</telerik:RadGrid> |