or
<
add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
|
There is an issue with header and Item column alignment while scrolling.
In the grid, I am using
UseStaticHeaders="true" to make the header fixed, but when I scroll horizontally till the end, then there is mismatch between alignment of header and item column.
There is no issue with
UseStaticHeaders="false"  
But I cant UseStaticHeaders = false as Static header is the requirement in my Project.
Please find attached doc for alignment issue before scrolling and after scrolling.

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" > <Tabs> <telerik:RadTab runat="server" Text="Tab 1" Selected="True"> <TabTemplate> <table width="950px"> <tr> <td>testing</td> </tr> </table> </TabTemplate> </telerik:RadTab></Tabs><Tabs> <telerik:RadTab runat="server" Text="Tab 2" Selected="True"> <TabTemplate> <table width="950px"> <tr> <td>testing</td> </tr> </table> </TabTemplate> </telerik:RadTab></Tabs></telerik:RadTabStrip><telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" > <Tabs> <telerik:RadTab runat="server" Text="Tab 1" Selected="True"> <TabTemplate> <table width="950px"> <tr> <td>testing</td> </tr> </table> </TabTemplate> </telerik:RadTab> <telerik:RadTab runat="server" Text="Tab 2" Selected="True"> <TabTemplate> <table width="950px"> <tr> <td>testing</td> </tr> </table> </TabTemplate> </telerik:RadTab></Tabs></telerik:RadTabStrip>
I am trying to rebind my grid once a radwindow has been closed through master page. My grid is in a usercontrol in aspx page. In master page i have :
function CancelEdit() {
GetRadWindow().Close();
}
function CloseAndRebind() {
GetRadWindow().BrowserWindow.refreshGrid(); // Call the function in parent page
GetRadWindow().close(); // Close the window
}
function refreshGrid() {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
}
and I have the following javascript in the user conrtrol:
<script type="text/javascript" language="javascript">
function refreshGrid() {
$find("<%= RadAjaxManager.GetCurrent(me.Page).ClientID %>").ajaxRequest("Rebind");
}
</script>
Once I close update the database in radwindow i register a javascript:
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "mykey", "CloseAndRebind();", True)
I can see my data source changing but the grid doesn't get updated. any suggestions?
<tk:RadAjaxManager ID="ramGridWait" runat="server"> <AjaxSettings> <tk:AjaxSetting AjaxControlID="rgGlobalInventorySummary"> <UpdatedControls> <tk:AjaxUpdatedControl ControlID="rgGlobalInventorySummary" LoadingPanelID="ralpGridWait" /> </UpdatedControls> </tk:AjaxSetting> <tk:AjaxSetting AjaxControlID="rbExport"> <UpdatedControls> <tk:AjaxUpdatedControl ControlID="rgGlobalInventorySummary" LoadingPanelID="ralpGridWait" /> </UpdatedControls> </tk:AjaxSetting> </AjaxSettings> </tk:RadAjaxManager> <tk:RadAjaxLoadingPanel runat="server" ID="ralpGridWait" InitialDelayTime="3000" Skin="WebBlue" /> <tk:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="ralpGridWait" runat="server"> <tk:RadGrid ID="rgGlobalInventorySummary" runat="server" OnNeedDataSource="rgGlobalInventorySummary_NeedDataSource" AllowFilteringByColumn="true" EnableEmbeddedSkins="true" BorderStyle="Solid" Skin="WebBlue" Width="100%" AllowPaging="true" PageSize="20" ShowFooter="true" PagerStyle-Position="TopAndBottom"> <ExportSettings ExportOnlyData="true" HideStructureColumns="true" IgnorePaging="true" /> <ClientSettings Selecting-AllowRowSelect="true"> <Resizing AllowColumnResize="true" EnableRealTimeResize="true" /> </ClientSettings> <MasterTableView AutoGenerateColumns="false" Caption="" ShowHeader="true" CommandItemDisplay="TopAndBottom"> <CommandItemSettings ShowAddNewRecordButton="false" ShowExportToExcelButton="true" ShowExportToPdfButton="false" ShowExportToWordButton="false" /> <Columns> <tk:GridBoundColumn DataField="Status" HeaderText="Status" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="85px" ItemStyle-HorizontalAlign="Left" AllowFiltering="true" FilterControlWidth="60%" /> </Columns> </MasterTableView> </tk:RadGrid> </tk:RadAjaxPanel>