Hi all,
i am trying to create a simple resizing grid with no luck. Based on http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx directions i did:
ClientSettings -> Resizing -> AllowRowResize = true
ClientSettings -> Resizing -> AllowColumnResize = true
ClientSettings -> Resizing -> EnableRealTimeResize = true
Is there anything else i should do?
Sample Code:
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager" runat="server">
</telerik:RadScriptManager>
<table style="width: 750px">
<tr>
<td>
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" AllowPaging="True"
GridLines="None" PageSize="10" Skin="Outlook">
<MasterTableView TableLayout="Fixed">
<RowIndicatorColumn Visible="True"></RowIndicatorColumn>
</MasterTableView>
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
AllowColumnResize="True"></Resizing>
<ClientEvents OnGridCreated="" />
</ClientSettings>
<HeaderStyle Width="100px" />
<PagerStyle Mode="NextPrevAndNumeric" />
</telerik:RadGrid>
</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT TOP 25 CustomerID, CompanyName, ContactName, ContactTitle, Address, PostalCode FROM Customers"
runat="server"></asp:SqlDataSource>
</form>
Thanks in advance
i am trying to create a simple resizing grid with no luck. Based on http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx directions i did:
ClientSettings -> Resizing -> AllowRowResize = true
ClientSettings -> Resizing -> AllowColumnResize = true
ClientSettings -> Resizing -> EnableRealTimeResize = true
Is there anything else i should do?
Sample Code:
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager" runat="server">
</telerik:RadScriptManager>
<table style="width: 750px">
<tr>
<td>
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" AllowPaging="True"
GridLines="None" PageSize="10" Skin="Outlook">
<MasterTableView TableLayout="Fixed">
<RowIndicatorColumn Visible="True"></RowIndicatorColumn>
</MasterTableView>
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
AllowColumnResize="True"></Resizing>
<ClientEvents OnGridCreated="" />
</ClientSettings>
<HeaderStyle Width="100px" />
<PagerStyle Mode="NextPrevAndNumeric" />
</telerik:RadGrid>
</td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT TOP 25 CustomerID, CompanyName, ContactName, ContactTitle, Address, PostalCode FROM Customers"
runat="server"></asp:SqlDataSource>
</form>
Thanks in advance