I downloaded hotfix several weeks ago to fix the issue which is when I play fast with scroll bar the data in grid cell is invisible.
But I meet another new bug: When I play with scroll bug, I got exception which is Object reference not set to an instance of an object.
Please check the image
This exception happens ramdomly. Sometimes there is no exception in whole day. Sometimes it happened twice in one minute.
4 Answers, 1 is accepted
Can you post more info about your scenario? A bit more info how the grid is bound, what settings are used, etc. can help us to identify the source of the problem.
Kind regards,Vlad
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
<
telerik:RadGridView SelectionMode="Extended" AutoGenerateColumns="False" Margin="0,0,0,0" ShowGroupPanel="False"
CanUserFreezeColumns="False" ItemsSource="{Binding MasterDataList}" ActionOnLostFocus="CommitEdit">
<i:Interaction.Triggers>
<i:EventTrigger EventName="CellEditEnded">
<ei:CallMethodAction MethodName="RadGridView1_CellEditEnded" TargetObject="{Binding}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
<telerik:RadGridView.Columns>
<telerik:GridViewColumn CellTemplateSelector="{StaticResource commandCellSelector}" Width="110"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding RegionSearchList, Source={StaticResource ViewModel}}" DisplayMemberPath="Name"
DataMemberBinding="{Binding RegionID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="Region" Width="170" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSourceBinding="{Binding AvailableDivisions}" DisplayMemberPath="Name"
DataMemberBinding="{Binding DivisionID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="Division" Width="170" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSourceBinding="{Binding AvailableSubDivisions}" DisplayMemberPath="Name"
DataMemberBinding="{Binding SubDivisionID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="SubDivision" Width="170" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding StateProvinceSearchList, Source={StaticResource ViewModel}}" DisplayMemberPath="Name"
DataMemberBinding="{Binding StateProvinceID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="State/Province" Width="170" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSourceBinding="{Binding AvailableLocations}" DisplayMemberPath="Name"
DataMemberBinding="{Binding LocationID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="Location" Width="170" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding DivisionSuperSearchList, Source={StaticResource ViewModel}}" DisplayMemberPath="Name"
DataMemberBinding="{Binding DivisionSuperiorID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="Division Supervisor" Width="100" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding SubDivisionSuperSearchList, Source={StaticResource ViewModel}}" DisplayMemberPath="Name"
DataMemberBinding="{Binding SubDivisionSuperiorID, Converter={StaticResource myConverter}}" SelectedValueMemberPath="ID"
Header="SubDivision Supervisor" Width="100" IsComboBoxEditable="True" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding ProgramYear, Mode=TwoWay}" Header="Program Year" Width="100" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding WorkYear, Mode=TwoWay}" Header="Work Year" Width="100" CellStyleSelector="{StaticResource gridViewColumnSelector}"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding TiesEstimatedQty, Mode=TwoWay}" Header="EstimatedQty" Width="100"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding TiesRemainingQty}" Header="RemainingQty" Width="100" IsReadOnly="True"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding RowPileSearchList, Source={StaticResource ViewModel}}"
DataMemberBinding="{Binding RowPile, Mode=TwoWay}" Header="RowPile" Width="100"/>
<telerik:GridViewComboBoxColumn ItemsSource="{Binding StatusSearchList, Source={StaticResource ViewModel}}"
DataMemberBinding="{Binding Status, Mode=TwoWay}" Header="Status" Width="100"/>
<telerik:GridViewDataColumn Header="PlanId" Width="100" IsReadOnly="True">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<HyperlinkButton Content="{Binding PlanID}" Command="{Binding PlanWorkLinkCommand, Source={StaticResource ViewModel}}" CommandParameter="{Binding PlanID}" NavigateUri="\PlanWork"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Comments, Mode=TwoWay}" Header="Comments" Width="100"/>
<telerik:GridViewDataColumn Header="Add to Plan Work" DataMemberBinding="{Binding IsAddedToPlanWork, Mode=TwoWay}">
</telerik:GridViewDataColumn>
<telerik:GridViewColumn Width="110" IsVisible="True">
<telerik:GridViewColumn.CellTemplate>
<DataTemplate>
<telerik:RadButton Content="Show history" Command="{Binding ShowHistoryClickCommand, Source={StaticResource ViewModel}}" CommandParameter="{Binding}" Width="100"/>
</DataTemplate>
</telerik:GridViewColumn.CellTemplate>
</telerik:GridViewColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Thank you for the feedback.
We currently test the problem and will contact you as soon as we have more information.
All the best,
Yordanka
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
I've tried to reproduce the problem with latest internal build (version .0912) but all my attempts were unsuccessful. Could you please isolate it in a sample project and send it to us so we can check what is going on? You need to open separate support ticket and attach the project there. Thank you for your cooperation.
Best wishes,
Yordanka
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>