<add name="RadCompression" type="Telerik.Web.UI.RadCompression"/><add name="CompressionModule" type="CompressionModule"/>protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) { if (e.CommandName == "Select") { btn1AuseLink_Command(e); } else if (e.CommandName == "Print") { btn1AusePrint_Command(e); } else if (e.CommandName == "Page") { if (e.CommandArgument == "Prev") { LoadFreeTextBox1A(); } else if (e.CommandArgument == "Next") { LoadFreeTextBox1A(); } else if (e.CommandArgument == "First") { LoadFreeTextBox1A(); } else if (e.CommandArgument == "Last") { LoadFreeTextBox1A(); } } else if (e.CommandName == "ChangePageSize") { SpeechRecords.SessionHandler.DispRow = (((GridPageSizeChangedEventArgs)(e)).NewPageSize).ToString(); } }<telerik:RadToolTipManager ID="ttm_CSMD_Backlog_By_Status_FL" runat="server" EnableShadow="true" Animation="Resize" Height="70" Width="75" OnAjaxUpdate="OnAjaxUpdate" HideEvent="ManualClose" Position="BottomCenter" RelativeTo="Element" OffsetY="0" OnClientResponseEnd="OnClientResponseEnd"> </telerik:RadToolTipManager>.rtCloseButton { margin-top: 12px!important; background-color:transparent; }I have a RadGrid that does sorting, but only for the current page. This particular grid has a year's worth of data divided into rows of 7 (52 pages * 7 = 365 days), but when I click on the first column (a date column named ReportDate) to sort the data, the sort is only applied against the current page's data! At first I thought maybe this was related to how date values are sometimes treated as strings, but that doesn't seem to be the case.
Here's a snippet of the grid's markup:
<telerik:RadGrid ID="RadGrid_StaffProductivitySummary" runat="server" AutoGenerateColumns="False" PageSize="7" Width="1185px" Height="500px" GridLines="None" VirtualItemCount="365" Skin="Windows7" HorizontalAlign="Center" enablerowhoverstyle="true"> <ItemStyle HorizontalAlign="Center" BorderWidth="0px"/> <MasterTableView horizontalalign="Center" gridlines="None" AllowPaging="True" AllowCustomPaging="true" PageSize="7" AllowSorting="true" commanditemdisplay="Top" > <SortExpressions> <telerik:GridSortExpression FieldName="ReportDateSort" SortOrder="Descending" /> </SortExpressions> <CommandItemSettings ExportToPdfText="Export to Pdf" ShowAddNewRecordButton="False"></CommandItemSettings> <Columns> <telerik:GridDateTimeColumn DataField="ReportDate" SortExpression="ReportDateSort" UniqueName="ReportDate" HeaderText="" PickerType="None" DataFormatString="{0:dd-MMM-yyyy}" HeaderStyle-Width="75px" HeaderStyle-Font-Bold="true"> </telerik:GridDateTimeColumn> <telerik:GridTemplateColumn UniqueName="IncomingFaxesDaily" DataField="IncomingFaxesDaily" InitializeTemplatesFirst="false"> <HeaderStyle Width="200px"/> <HeaderTemplate> <table id="faxHeaderTable" cellspacing="1" cellpadding="3"> <tr> <td colspan="4" align="center" style="background-color: #D8E6F1;"><b>Daily Fax Summary</b> </td> </tr> <tr> <td style="width: 25%;"><b>Incoming</b></td> <td style="width: 25%;"><b>Processed</b></td> <td style="width: 25%;"><b>Not Processed</b></td> <td style="width: 25%;"><b>Deleted</b></td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table id="faxItemTable" cellspacing="1" cellpadding="1" width="100%" style="text-align:center;" border="0"> <tr> <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "IncomingFaxesDaily") %></td> <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesProcessedDaily") %></td> <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesNotProcessedDaily") %></td> <td style="width: 25%;"><%# DataBinder.Eval(Container.DataItem, "FaxesDeletedDaily") %></td> </tr> </table> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> <EditFormSettings> <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> </EditFormSettings> <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" Wrap="True" VerticalAlign="Middle" /> <AlternatingItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" Wrap="True" /> <EditItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" Wrap="True" /> <PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" /> <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" Wrap="True" VerticalAlign="Bottom" /> </MasterTableView> <HeaderStyle BorderStyle="None" /> <EditItemStyle BackColor="#FFFF99" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" /> </telerik:RadGrid><telerik:RadGrid ID="rg_tt_CSMD_Backlog_By_Status_FL" runat="server" AllowSorting="false" GridLines="None" AllowPaging="true" BorderStyle="NotSet" Height="99.9%" Width="99.9%" OnNeedDataSource="rg_tt_CSMD_Backlog_By_Status_FL_NeedDataSource" OnItemDataBound ="rg_tt_CSMD_Backlog_By_Status_ItemDataBound" AutoGenerateColumns="false" HeaderStyle-Wrap="false"> <MasterTableView DataKeyNames="CASES" CommandItemDisplay="None" TableLayout="Auto" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Small"> <Columns> <telerik:GridTemplateColumn AllowFiltering="false" UniqueName="imageCol" HeaderStyle-Width="2%" > <ItemTemplate> <a href="../CustomerSupport/CaseViewer.aspx?ID=<%#Eval("CASES")%>"> <asp:Image ImageUrl="~/Images/case.png" ID="imgTest" runat="server" BorderWidth="0px" /> </a> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="CASES" HeaderText="CASE" DataFormatString="<nobr>{0}</nobr>" HeaderStyle-Width="10%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Small"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn AllowFiltering="false" UniqueName="imageappSerial" HeaderStyle-Width="2%"> <ItemTemplate> <a href="../AccountManagement/ProductViewer.aspx?ID=<%#Eval("SERIAL")%>"> <asp:Image ImageUrl="~/Images/server_database.png" ID="imgTest" runat="server" BorderWidth="0px" /> </a> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="appSERIAL" HeaderText="SERIAL" DataFormatString="<nobr>{0}</nobr>" HeaderStyle-Width="10%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Small"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SITE" HeaderText="SITE" DataFormatString="<nobr>{0}</nobr>" HeaderStyle-Width="35%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Small"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="SUMMARY" HeaderText="SUMMARY" DataFormatString="<nobr>{0}</nobr>" HeaderStyle-Width="48%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Small"> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings> </ClientSettings> </telerik:RadGrid><telerik:RadToolTipManager ID="ttm_CSMD_Backlog_By_Status_FL" runat="server" EnableShadow="true" Animation="Resize" HideEvent="ManualClose" Height="70" Width="75" OnAjaxUpdate="OnAjaxUpdate" Position="BottomCenter" RelativeTo="Element" OffsetY="0" OnClientResponseEnd="OnClientResponseEnd"> </telerik:RadToolTipManager>.RadTabStrip
.rtsLevel{
clear:both;
overflow: hidden;
position: relative;
width: 100%;
}
This was pushing the div the style is attached to and therfore my tabs down to the bottom of the page when it was viewed in any non IE browser.
I added the following more specific style to a stylesheet in my theme and the problem was solved.
div.RadTabStrip
.rtsLevel{
clear: none;
overflow: hidden;
position: relative;
width: 100%;
}