<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
"there is a shift between the header and the data columns .
i use "RTL" language and my telerik version is "2009.1.402.20" and the runtime version is "v2.0.50727".
when i remove the UseStaticHeaders
=
"true"
everything work fine, and it also work good with IE7.here is an example code of my problem :
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<telerik:RadCodeBlock id="rcb" runat="server">
<script type="text/javascript" language="javascript">
function pageLoad() {
// if ($telerik.isIE7 || $telerik.isIE6)
// document.body.setAttribute('dir', 'rtl');
// var arr = document.getElementById("<%=gvToDoList.ClientID%>");
}
</script>
</telerik:RadCodeBlock>
</head>
<body dir="rtl" >
<form id="form1" runat="server" >
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="gvToDoList">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="gvToDoList" LoadingPanelID="RadAjaxLoadingPanel1"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="gvToDoList" Skin="Office2007" runat="server"
BorderStyle="Solid" BorderWidth="1px" AllowSorting="True" Width="100%" Height="400px" CellSpacing="1"
AllowFilteringByColumn="True" AllowPaging="True" PageSize="25" EnableAJAX="True" ShowStatusBar="True" AutoGenerateColumns="False" meta:resourcekey="gvToDoListResource1">
<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True"
>
<Columns>
<telerik:GridBoundColumn HeaderStyle-Width="100PX" FilterListOptions="VaryByDataTypeAllowCustom" FilterControlWidth="70px" DataField="candName" AllowSorting="true" SortExpression="candName"
HeaderText="candName" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="100PX" FilterControlWidth="70px" AllowSorting="true" DataField="JobName" SortExpression="JobName"
HeaderText="JobName" meta:resourcekey="BoundFieldResource2">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="100PX" FilterControlWidth="70px" AllowSorting="false" DataField="VacancyName" HeaderText="VacancyName "
>
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings >
<Selecting AllowRowSelect="true" />
<Scrolling AllowScroll="true" UseStaticHeaders="true" ></Scrolling>
</ClientSettings>
<PagerStyle Mode="NextPrevAndNumeric" VerticalAlign="Top" Height="40px" PagerTextFormat="" />
</telerik:RadGrid>
<telerik:RadAjaxLoadingPanel HorizontalAlign="Center" valign="middle" Transparency="50" ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
</form>
</body>
</html>
Thanks