private void grdCustomer_RowDetailsVisibilityChanged(object sender, GridViewRowDetailsEventArgs e)
{
e.Row.CommitEdit();
e.Row.IsSelected =
true;
}
This works with Q1 2011, but with Q1 2012, I get the following error
"'NavigatorIndicatorBackground' name cannot be found in the name scope of 'System.Windows.Controls.Border'."
Is there something I need to change to make this work with Q1 2012, or is there a bug? At this point, I will have to stay with Q1 2011 unless I can make this work with 2012.
<telerik:GridViewColumn.AggregateFunctions>
<local:SimCount SourceField="SimPossible" SourceFieldType="{x:Type System:Boolean}" Caption="Candidate Modules : " />
</telerik:GridViewColumn.AggregateFunctions>
The SimCount class is here.
public
class SimCount : Telerik.Windows.Data.EnumerableSelectorAggregateFunction
{
protected override string AggregateMethodName
{
get { return "SimCandidateCount"; }
}
protected override Type ExtensionMethodsType
{
get
{
return typeof(SimCandidateCounter);
}
}
}
public static class SimCandidateCounter
{
public static int SimCandidateCount<TSource>(IEnumerable<TSource> source,Func<TSource,bool> selector )
{
return source.Select(selector).Count(b => b);
}
}


Hi,
It seems a bug in the GridViewBoundColumnBase.CanFilter() of the 2012.1 release.
I'm binding my grid to a collection of ExpandoObjects, and I found that when I set grid.IsFilteringAllowed to true, the FilteringDropDown controls shows up on column headers, but they didn't go hidden when I set grid.IsFilteringAllowed to false.
By looking at the disassembled code, I found that GridViewBoundColumnBase.CanFilter() has been changed to this:
public override bool CanFilter()
{
return (base.CanFilter() || (this.IsBoundToDynamicType() && (this.EffectiveFilteringType != null)));
}
In my case base.CanFilter() is false and this.IsBoundToDynamicType() && (this.EffectiveFilteringType != null)) is always true, which means there's no way for me to simply toggle grid.IsFilteringAllowed to show/hide the filter control.
Jason
Hello,
I have a problem with the tileview control.
I have a tileview in my page with RadFluidContentControl to have different view depends on the size :
<telerik:RadTileView IsItemsAnimationEnabled="False"> <telerik:RadTileViewItem> <telerik:RadFluidContentControl TransitionDuration="0" State="Large" SmallToNormalThreshold="400 400" NormalToSmallThreshold="400 400" NormalToLargeThreshold="600 600" LargeToNormalThreshold="600 600"> <telerik:RadFluidContentControl.SmallContent> <StackPanel x:Name="SmallContent"> <TextBlock Text="Small"/> <TextBlock Text="{Binding MyList.Count}"/> <ListBox ItemsSource="{Binding MyList, Mode=TwoWay}"/> </StackPanel> </telerik:RadFluidContentControl.SmallContent> <telerik:RadFluidContentControl.Content> <StackPanel x:Name="Content"> <TextBlock Text="Normal"/> <TextBlock Text="{Binding MyList.Count}"/> <ListBox ItemsSource="{Binding MyList, Mode=TwoWay}"/> </StackPanel> </telerik:RadFluidContentControl.Content> <telerik:RadFluidContentControl.LargeContent> <StackPanel x:Name="LargeContent"> <TextBlock Text="Large"/> <TextBlock Text="{Binding MyList.Count}"/> <ListBox ItemsSource="{Binding MyList, Mode=TwoWay}"/> </StackPanel> </telerik:RadFluidContentControl.LargeContent> </telerik:RadFluidContentControl> </telerik:RadTileViewItem> </telerik:RadTileView> MyList is just a List of String with 2 elements.
When I ran the application, only the listbox in the normal content displayed the 2 elements. In the small and large content the list was empty.
But in all contents (small, normal and large) the textblock displayed the correct number of elements in my list (2).
Do I something wrong ?
Thanks in advance for your answer.
Regards,
Patrick