Hi
I have a RadMultipage with a width Set at 100%, within the multipage i have a RadPageView also with a width of 100%, within the PageView i have a grid with a width of 100% the grid is defined as below see code example
My problem is that the grid extends beyond the width of the Pageview, my grid columns are bound at run time so am not specifying any column widths, if i collapse the grouping then the grid fits within the Pageview, how can i control the width when the grouping is expanded ?
MyGrid:
I have a RadMultipage with a width Set at 100%, within the multipage i have a RadPageView also with a width of 100%, within the PageView i have a grid with a width of 100% the grid is defined as below see code example
My problem is that the grid extends beyond the width of the Pageview, my grid columns are bound at run time so am not specifying any column widths, if i collapse the grouping then the grid fits within the Pageview, how can i control the width when the grouping is expanded ?
MyGrid:
<telerik:RadGrid ID="GridAwaitingAction" runat="server" Skin="WebBlue" AllowPaging="True" AllowSorting="True" Culture="en-GB" GridLines="None" AllowFilteringByColumn="True" Width="100%"> <GroupingSettings GroupByFieldsSeparator=";" /> <ClientSettings> <Selecting AllowRowSelect="true" /> <ClientEvents OnRowClick="RowClick" /> </ClientSettings> <MasterTableView DataKeyNames="WSARecordID" Width="100%"> <GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField FieldAlias="Status" FieldName="Status"></telerik:GridGroupByField> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="Status"></telerik:GridGroupByField> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions> <CommandItemSettings ExportToPdfText="Export to Pdf" /> <RowIndicatorColumn> <HeaderStyle Width="20px" /> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px" /> </ExpandCollapseColumn> <Columns> <telerik:GridButtonColumn CommandName="ViewWSA" ImageUrl="~/App_Themes/Merlin/Images/410.png" Text="Preview Report" UniqueName="ViewWSA"> </telerik:GridButtonColumn> </Columns> </MasterTableView> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_WebBlue" EnableImageSprites="True"> </HeaderContextMenu> </telerik:RadGrid>