This is a migrated thread and some comments may be shown as answers.

RadGrid Scrolling Not working

7 Answers 169 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dev D
Top achievements
Rank 2
Dev D asked on 06 Aug 2008, 06:17 AM
I am having a problem with RadGrid' scrolling position.

I want the header to be fixed. But they should move (scroll) horizontally, but not
vertically.

As it is a Telerik control I used their example (See below)

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Scrolling/DefaultCS.aspx

But it is helpless to me. The same thing I have applied, But when i fixed the header with the property  UseStaticHeader="True"  the headers are fixed.
I have also applied the container table property  style="table-layout:fixed".  After that they are not moving or scrolling horizontally nor vertically.

Please try to solve my problem, I am stuck.

You can see what problem I am facing. See the image below.



Please help. Its really urgent.

7 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Aug 2008, 08:31 AM
Hello Shailendrasinh,

Please copy/paste your RadGrid declaration here.

Sincerely yours,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dev D
Top achievements
Rank 2
answered on 06 Aug 2008, 08:58 AM
<div id="print_area"><BR>                                                                    <table border="1" cellpadding="0" cellspacing="0" width="100%" id="TableMain" runat="server"<BR>                                                                        style="table-layout: fixed;"><BR>                                                                        <tr><BR>                                                                            <td height="25px" style="width: 100%;"><BR>                                                                                <table cellpadding="0" cellspacing="0" width="100%"><BR>                                                                                    <tr><BR>                                                                                        <td style="text-align: left; width: 65%;"><BR>                                                                                            <asp:Label ID="Label6" runat="server" Font-Bold="true" CssClass="SubTitle1" Text="Enter Asset Purchases from Personal Bank Account:"></asp:Label><BR>                                                                                        </td><BR>                                                                                        <td colspan="2" style="text-align: right; height: 21px;"><BR>                                                                                            <asp:Button ID="Button1" runat="server" Text="Instructions" OnClientClick='document.getElementById("styled_popup").style.display="block";return false;'<BR>                                                                                                Style="font-size: 8pt; width: 90px;" /><BR>                                                                                            <asp:Button ID="btnexportexcel" runat="server" CssClass="clsBtnControl" OnClick="btnexportexcel_Click"<BR>                                                                                                Text="Excel" Width="50px" Font-Size="8pt" /><BR>                                                                                            <asp:Button ID="btnprint" runat="server" CssClass="clsBtnControl" Text="Print Preview"<BR>                                                                                                Width="90px" Font-Size="8pt" OnClick="btnprint_Click" /><BR>                                                                                        </td><BR>                                                                                    </tr><BR>                                                                                </table><BR>                                                                            </td><BR>                                                                        </tr><BR>                                                                        <tr><BR>                                                                            <td align="center"><BR>                                                                                <radG:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" GridLines="none" CssClass="RadGrid"<BR>                                                                                    ShowHeader="true" AllowSorting="True" LoadingTemplateTransparency="20" OnNeedDataSource="RadGrid1_NeedDataSource"<BR>                                                                                    EnableAJAX="false" PageSize="20" Skin="None" UseEmbeddedScripts="False" OnItemCreated="RadGrid1_ItemCreated"<BR>                                                                                    OnInsertCommand="RadGrid1_InsertCommand" OnItemDataBound="RadGrid1_ItemDataBound"<BR>                                                                                    OnUpdateCommand="RadGrid1_UpdateCommand" OnDeleteCommand="RadGrid1_DeleteCommand"<BR>                                                                                    OnPreRender="RadGridTemp_PreRender"><BR>                                                                                    <ClientSettings><BR>                                                                                        <ClientEvents OnGridCreated="GridCreated" /><BR>                                                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="50px"></Scrolling><BR>                                                                                    </ClientSettings><BR>                                                                                    <ItemStyle CssClass="RadGridItem" /><BR>                                                                                    <AlternatingItemStyle CssClass="RadGridItem_Alt" /><BR>                                                                                    <HeaderStyle CssClass="RadGridHeader" /><BR>                                                                                    <EditItemStyle CssClass="RadGridEditItem" /><BR>                                                                                    <MasterTableView AutoGenerateColumns="False" DataKeyNames="TransID" AllowPaging="True"<BR>                                                                                        VirtualItemCount="1000" Width="100%" CommandItemDisplay="Top" EditMode="InPlace"><BR>                                                                                        <PagerTemplate><BR>                                                                                            <table class="CustomGridPager" border="0" cellpadding="0" cellspacing="0" style="height: 20px;<BR>                                                                                                text-align: right;" width="100%"><BR>                                                                                                <tr><BR>                                                                                                    <td colspan="2">&nbsp;<BR>                                                                                                        </td><BR>                                                                                                </tr><BR>                                                                                                <tr><BR>                                                                                                    <td><BR>                                                                                                        <table border="0" cellpadding="0" cellspacing="0"><BR>                                                                                                            <tr><BR>                                                                                                                <td><BR>                                                                                                                    <strong>Go To Page:</strong>&nbsp;&nbsp;&nbsp;</td><BR>                                                                                                                <td><BR>                                                                                                                    <asp:TextBox ID="tbPageNumber" Width="28px" runat="server" Columns="3" Text='<%# (int)DataBinder.Eval(Container, "OwnerTableView.CurrentPageIndex") + 1 %>'<BR>                                                                                                                        Style="vertical-align: bottom;" /><BR>                                                                                                                    <asp:RangeValidator runat="Server" ID="RangeValidator1" ControlToValidate="tbPageNumber"<BR>                                                                                                                        EnableClientScript="true" MinimumValue="1" Type="Integer" MaximumValue='<%# DataBinder.Eval(Container, "Paging.PageCount") %>'<BR>                                                                                                                        ErrorMessage='<%# "Value must be in the range of 1 - " + DataBinder.Eval(Container, "Paging.PageCount") %>'<BR>                                                                                                                        Display="Dynamic" Style="vertical-align: bottom;"><BR>                                                                                                                    </asp:RangeValidator><BR>                                                                                                                </td><BR>                                                                                                                <td><BR>                                                                                                                    &nbsp;<asp:ImageButton ID="ImageButton1" runat="server" CommandName="CustomChangePage"<BR>                                                                                                                        ImageUrl="~/Images/go-btn.gif" Style="vertical-align: middle" /><BR>                                                                                                                    &nbsp;&nbsp;&nbsp;<BR>                                                                                                                </td><BR>                                                                                                                <td><BR>                                                                                                                    <asp:ImageButton Style="vertical-align: top" ImageUrl="~/Images/ScrollLeft.png" ID="imgprev"<BR>                                                                                                                        CommandName="Page" CausesValidation="false" CommandArgument="Prev" runat="server" /><BR>                                                                                                                    <label class="PaggingColor"><BR>                                                                                                                        Page<BR>                                                                                                                        <%# ((GridPagerItem)Container).Paging.CurrentPageIndex + 1 %><BR>                                                                                                                        &nbsp; of &nbsp;<BR>                                                                                                                        <%# ((GridPagerItem)Container).Paging.PageCount %><BR>                                                                                                                    </label><BR>                                                                                                                    <asp:ImageButton Style="vertical-align: top" ImageUrl="~/Images/ScrollRight.png"<BR>                                                                                                                        ID="imgnext" CommandName="Page" CausesValidation="false" CommandArgument="Next"<BR>                                                                                                                        runat="server" /><BR>                                                                                                                </td><BR>                                                                                                            </tr><BR>                                                                                                        </table><BR>                                                                                                    </td><BR>                                                                                                </tr><BR>                                                                                            </table><BR>                                                                                        </PagerTemplate><BR>                                                                                        <CommandItemTemplate><BR>                                                                                            <table width="100%" cellpadding="0" cellspacing="0"><BR>                                                                                                <tr><BR>                                                                                                    <td style="text-align: left" colspan="2"><BR>                                                                                                        <asp:Button ID="btnadd" runat="server" CssClass="clsBtnControl" CommandName="InitInsert"<BR>                                                                                                            Text="Add Assets" Font-Size="8pt" Width="110px" ValidationGroup="a" /><BR>                                                                                                    </td><BR>                                                                                                </tr><BR>                                                                                                <tr><BR>                                                                                                    <td class="GreenBar" style="text-align: center" colspan="2" height="25"><BR>                                                                                                        <asp:Label ID="Label7" runat="server" CssClass="Green_Blue_Label" Text="Complete this Section (Compulsory)"></asp:Label><BR>                                                                                                    </td><BR>                                                                                                </tr><BR>                                                                                            </table><BR>                                                                                        </CommandItemTemplate><BR>                                                                                        <PagerStyle Mode="NumericPages" CssClass="clsBtnControl" /><BR>                                                                                        <Columns><BR>                                                                                            <radG:GridEditCommandColumn InsertText="Save"><BR>                                                                                                <HeaderStyle Width="200px" /><BR>                                                                                                <ItemStyle Width="200px" /><BR>                                                                                            </radG:GridEditCommandColumn><BR>                                                                                            <radG:GridBoundColumn DataField="TransID" Visible="False" ReadOnly="True" HeaderText="No."<BR>                                                                                                UniqueName="TransID" SortExpression="TransID"><BR>                                                                                                <HeaderStyle Width="100px" HorizontalAlign="Center" /><BR>                                                                                                <ItemStyle Width="100px" /><BR>                                                                                            </radG:GridBoundColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" EditFormColumnIndex="1" HeaderText="Date"<BR>                                                                                                DataField="AssetDate_Sort" SortExpression="AssetDate_Sort"><BR>                                                                                                <HeaderStyle Width="280px" HorizontalAlign="Center" /><BR>                                                                                                <ItemStyle Width="280px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lbldate" Text='<%# Bind("AssetDate") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <radCln:RadDatePicker ID="rdTransactionDate" runat="server" Width="120px" MinDate="1960/1/1"<BR>                                                                                                        MaxDate="2099/1/1" Calendar-Skin="Default2006" UseEmbeddedScripts="false"><BR>                                                                                                    </radCln:RadDatePicker><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="rdTransactionDate"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" EditFormColumnIndex="1" HeaderText="Asset<br />Type"<BR>                                                                                                DataField="AssetType" SortExpression="AssetType"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="400px" /><BR>                                                                                                <ItemStyle Width="400px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblAssetType" Text='<%# Bind("AssetType") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:DropDownList ID="cmbAssetType" runat="server" Font-Size="8pt" OnSelectedIndexChanged="cmbAssetType_SelectedIndexChanged"<BR>                                                                                                        AutoPostBack="True" Font-Names="Arial"><BR>                                                                                                        <asp:ListItem Text="-Select Asset Type-">-Select Asset Type-</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Managed Funds">Managed Funds</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Shares (eg Rights Issue or IPO)">Shares (eg Rights Issue or IPO)</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Warrants (eg via Application)">Warrants (eg via Application)</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Commercial Property">Commercial Property</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Residential Property">Residential Property</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Land Only">Land Only</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Investment in Non Listed Business">Investment in Non Listed Business</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Loans">Loans</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Artwork">Artwork</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Wine">Wine</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Gold / Physical Commodities">Gold / Physical Commodities</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Stamps">Stamps</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Coins">Coins</asp:ListItem><BR>                                                                                                        <asp:ListItem Text="Other">Other</asp:ListItem><BR>                                                                                                    </asp:DropDownList><asp:CompareValidator ID="CompareValidator2" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="cmbAssetType" Operator="notequal" ValueToCompare="-Select Asset Type-"></asp:CompareValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" EditFormColumnIndex="1" HeaderText="Asset&nbsp;Code<br />(eg&nbsp;PER001)"<BR>                                                                                                DataField="AssetCode" SortExpression="AssetCode"><BR>                                                                                                <HeaderStyle Width="420px" HorizontalAlign="Center" /><BR>                                                                                                <ItemStyle Width="420px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblCode" Text='<%# Bind("AssetCode") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtAsset" runat="server" Text='<%# Bind("AssetCode") %>' Width="45%"></asp:TextBox><asp:Image<BR>                                                                                                        ID="ImageAssetCode" runat="server" ImageUrl="Images/Search.gif" Style="cursor: hand;" /><asp:RequiredFieldValidator<BR>                                                                                                            ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtAsset"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Asset&nbsp;Description<br />(eg&nbsp;Perpetual,Property&nbsp;Address)"<BR>                                                                                                DataField="Description" SortExpression="Description"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="200px" /><BR>                                                                                                <ItemStyle Width="200px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lbldesc" Text='<%# Bind("Description") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtdesc" runat="server" Text='<%# Bind("Description") %>' Width="85%"></asp:TextBox><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="txtdesc"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Units<br />Purchased"<BR>                                                                                                DataField="Units" SortExpression="Units"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="90px" /><BR>                                                                                                <ItemStyle Width="90px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblUnits" Text='<%# Bind("Units") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtunits" runat="server" Text='<%# Bind("Units") %>' Width="70%"></asp:TextBox><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="txtunits"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Unit<br />&nbsp;&nbsp;&nbsp;Price&nbsp;&nbsp;&nbsp;"<BR>                                                                                                DataField="UnitPrice" SortExpression="UnitPrice"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="90px" /><BR>                                                                                                <ItemStyle Width="90px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblUnits_Price" Text='<%# Bind("UnitPrice") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtUnitPrice" runat="server" Text='<%# Bind("UnitPrice") %>' Width="70%"></asp:TextBox><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="txtUnitPrice"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Incidental&nbsp;Costs<br />(eg&nbsp;Brokerage)"<BR>                                                                                                DataField="IncidentalCosts" SortExpression="IncidentalCosts"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="90px" /><BR>                                                                                                <ItemStyle Width="90px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblIncidental_Costs" Text='<%# Bind("IncidentalCosts") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtIncCosts" runat="server" Text='<%# Bind("IncidentalCosts") %>'<BR>                                                                                                        Width="80%"></asp:TextBox><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="txtIncCosts"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Total&nbsp;Purchase<br />Price"<BR>                                                                                                DataField="TotalPrice" SortExpression="TotalPrice"><BR>                                                                                                <HeaderStyle HorizontalAlign="Center" Width="90px" /><BR>                                                                                                <ItemStyle Width="90px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblTotal" Text='<%# Bind("TotalPrice") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                            <radG:GridTemplateColumn UniqueName="TemplateColumn" EditFormColumnIndex="1" HeaderText="GST&nbsp;Paid<br />on&nbsp;Purchases"<BR>                                                                                                DataField="GSTPaid" SortExpression="GSTPaid"><BR>                                                                                                <HeaderStyle Width="120px" HorizontalAlign="Center" /><BR>                                                                                                <ItemStyle Width="120px" /><BR>                                                                                                <ItemTemplate><BR>                                                                                                    <asp:Label runat="server" ID="lblPaidGST" Text='<%# Bind("GSTPaid") %>'></asp:Label><BR>                                                                                                </ItemTemplate><BR>                                                                                                <EditItemTemplate><BR>                                                                                                    <asp:TextBox ID="txtGST" runat="server" Text='<%# Bind("GSTPaid") %>' Width="70%"></asp:TextBox><BR>                                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*"<BR>                                                                                                        ControlToValidate="txtGST"></asp:RequiredFieldValidator><BR>                                                                                                </EditItemTemplate><BR>                                                                                            </radG:GridTemplateColumn><BR>                                                                                        </Columns><BR>                                                                                        <NoRecordsTemplate><BR>                                                                                            <div><BR>                                                                                                <b>No Transactions Found</b></div><BR>                                                                                        </NoRecordsTemplate><BR>                                                                                        <ExpandCollapseColumn Resizable="False" Visible="False"><BR>                                                                                            <HeaderStyle Width="20px" /><BR>                                                                                        </ExpandCollapseColumn><BR>                                                                                        <RowIndicatorColumn Visible="False"><BR>                                                                                            <HeaderStyle Width="20px" /><BR>                                                                                        </RowIndicatorColumn><BR>                                                                                    </MasterTableView><BR>                                                                                </radG:RadGrid><BR>                                                                            </td><BR>                                                                        </tr><BR>                                                                    </table><BR>                                                                </div>
0
Dimo
Telerik team
answered on 06 Aug 2008, 12:43 PM
Hello Shailendrasinh,

I tested the provided code snippet and the RadGrid scrolling works as expected. Please open a new support ticket and send us a simple working project, which reproduces the problem, so that we can investigate locally. Thanks.


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dev D
Top achievements
Rank 2
answered on 09 Aug 2008, 07:13 AM

Hi Dimo,

I have solved my problem with the property EnableAJAXScrollPaging="true" in ClientSetting tag.

But the problem occurs at the last column. It is not moving properly. Means when I scroll the grid
Horizontally, it moves the ItemComlumn, but the header is fixed. So their gridlines disorders.

If I provide a dataset directly to the Grid with datasource, the problem is not there.
But when I take GridBoundColumns, GridEditCommandColumn ...etc the problem occurs.

See the problem below.

Image 1 :




Image 2:

0
Dev D
Top achievements
Rank 2
answered on 09 Aug 2008, 07:18 AM

Hi Dimo,

I have solved my problem with the property EnableAJAXScrollPaging="true" in ClientSetting tag.

But the problem occurs at the last column. It is not moving properly. Means when I scroll the grid
Horizontally, it moves the ItemComlumn, but the header is fixed. So their gridlines disorders.

If I provide a dataset directly to the Grid with datasource, the problem is not there.
But when I take GridBoundColumns, GridEditCommandColumn ...etc the problem occurs.

See the problem below.

Image 1 :

Image2 :


0
Dimo
Telerik team
answered on 11 Aug 2008, 07:03 AM
Hello Shailendrasinh,

Unfortunately, I am not able to see the images that you wanted to show. As suggested earlier, please open a support ticket and attach a simple working project, which reproduces the problem. Thanks.

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
answered on 21 May 2021, 05:07 AM | edited on 21 May 2021, 05:14 AM

Hi ,

I am getting this error while we are migrating from Telerik.WebControls to Telerik.Web.UI for RadGrid.


1.Type 'Telerik.Web.UI.GridScrolling' doesnot have a public property named 'EnableClickKeyValues'

2.Type 'Telerik.Web.UI.GridScrolling' does not have a public property named 'EnableAJAXScrollPaging',

I have reffered articles and added ClientDataKeyNames to MastertableView but still getting Error.

Code for Issue 1:

 <MasterTableView CommandItemDisplay="Top" DataKeyNames="Guid" EnableViewState="false" Width="100%" AllowNaturalSort="false" ClientDataKeyNames="Guid">
        <SortExpressions>
            <telerik:GridSortExpression FieldName="RequestDate" SortOrder="Ascending" />
        </SortExpressions>
        <CommandItemTemplate>

Code For Issue 2:

<ClientSettings AllowColumnHide="false"  AllowColumnsReorder="false" AllowDragToGroup="false" 
                    AllowGroupExpandCollapse="false" AllowKeyboardNavigation="false" AllowRowHide="false" 
                    ApplyStylesOnClient="false" EnableClientKeyValues="true"  ReorderColumnsOnClient="false">

 <Scrolling AllowScroll="false" EnableAJAXScrollPaging="false" SaveScrollPosition="false" />

Can anyone please help on this?

 

Tags
Grid
Asked by
Dev D
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Dev D
Top achievements
Rank 2
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
Share this question
or