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

[Solved] Bug: CommandItem and Scrolling

1 Answer 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clarence
Top achievements
Rank 1
Clarence asked on 08 Jul 2009, 07:26 PM
Version: 2009.2 701

Problem:
    The CommandItem appears twice if you have the following settings:

1).CommandItemDisplay="Top"  -MasterTableView
2) AllowScroll="True" - ClientSettings -->Scrolling
3) AllowPaging="False"

Question:
Has anyone else ran into this problem? 

Work-Around: Set AllowPaging="True"

Update: Here is enough code to re-produce the problem:

 <telerik:RadGrid ID="grd" runat="server" DataSourceID="datasource" GridLines="None"
AllowSorting="True" PageSize="5000" AllowAutomaticInserts="True" AllowAutomaticDeletes="True"
AllowAutomaticUpdates="True">
<HeaderContextMenu EnableTheming="True">
<CollapseAnimation Type="None" Duration="0"></CollapseAnimation>
</HeaderContextMenu>
<PagerStyle AlwaysVisible="True"/>
<MasterTableView Caption="Some text here" datakeynames="1,2"
datasourceid="datasource" CommandItemDisplay="Top"
PagerStyle-Position="Top" PagerStyle-AlwaysVisible="true">
<Columns></Columns>
<EditFormSettings EditFormType="Template" >
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
<FormTemplate>
<%--Removed--%>
</FormTemplate>
</EditFormSettings>
<PagerStyle AlwaysVisible="False" Position="Top" />
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="600px" />
</ClientSettings>
<FilterMenu EnableTheming="True" Skin="Office2007">
<ExpandAnimation Duration="0" Type="None" />
<CollapseAnimation Duration="0" Type="None" />
</FilterMenu>
</telerik:RadGrid>

 

 

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 13 Jul 2009, 12:08 PM
Hello Clarence,

Indeed I was able to observed the behavior in question. However I'm happy to inform you that our developers has managed to address the described issue. Thus the fix will be available with SP1 of Q2 2009 release of RadControls for ASP.NET AJAX (also you may check the next internal build for a preview).
Meanwhile I have updated your telerik points for reporting this.

Please excuse us for the temporary inconvenience.

All the best,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Clarence
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or