| The code below does not display the StatusBar even though ShowStatusBar is set to "True". But if CommandItemDisplay is changed |
| from "Top" to "Bottom", it displays. Is there an issue with the markup? I'm running version 1314 from January 2009. |
| To run it, just enter a valid connect string. The Data Source does not access a real table so all it needs is a database connection. |
| Thanks, John |
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %> |
| <%@ 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> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <asp:SqlDataSource ID="DS" runat="server" ConnectionString="Data Source=xxx;Initial Catalog=xxx;User ID=xxx;Password=xxx" |
| ProviderName="System.Data.SqlClient" DataSourceMode="DataReader" SelectCommandType="Text" |
| SelectCommand="SELECT '1' AS SEDID "></asp:SqlDataSource> |
| <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="False" AllowSorting="True" |
| EnableLinqExpressions="False" Skin="Office2007" AutoGenerateColumns="False" ShowStatusBar="True" |
| HeaderStyle-Wrap="false" ItemStyle-Wrap="false" DataSourceID="DS" DataMember="DefaultView" |
| AllowMultiRowEdit="True"> |
| <StatusBarSettings ReadyText="Ready" LoadingText="Loading..." /> |
| <HeaderContextMenu EnableTheming="true"> |
| <CollapseAnimation Type="OutQuint" Duration="50" /> |
| </HeaderContextMenu> |
| <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="true"> |
| <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" |
| ResizeGridOnColumnResize="True" /> |
| <Selecting AllowRowSelect="True" /> |
| <Scrolling AllowScroll="true" UseStaticHeaders="True" ScrollHeight="300px" /> |
| </ClientSettings> |
| <%--<PagerStyle Mode="NextPrevNumericAndAdvanced" />--%> |
| <MasterTableView DataSourceID="DS" AllowAutomaticDeletes="false" RowIndicatorColumn-Visible="false" |
| CommandItemDisplay="Top" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" |
| DataMember="DefaultView" DataKeyNames="SedID" EditMode="PopUp"> |
| <Columns> |
| <telerik:GridEditCommandColumn ButtonType="ImageButton" runat="server"> |
| <HeaderStyle Width="16px" /> |
| <ItemStyle Width="16px" /> |
| </telerik:GridEditCommandColumn> |
| <telerik:GridBoundColumn DataField="SedID" HeaderText="SED" runat="server" UniqueName="colSedID"> |
| <HeaderStyle Width="800px" /> |
| <ItemStyle Width="800px" /> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <FilterMenu> |
| <CollapseAnimation Type="OutQuint" Duration="50" /> |
| </FilterMenu> |
| </telerik:RadGrid> |
| </div> |
| </form> |
| </body> |
| </html> |