or
| System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='14445493'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Telerik.Windows.Controls.GridView.GridViewExpandableRow'; TargetElement.HashCode='14788679'; TargetElement.Type='Telerik.Windows.Controls.GridView.GridViewExpandableRow' |
| System.Windows.Media.Animation Warning: 6 : Unable to perform action because the specified Storyboard was never applied to this object for interactive control.; Action='Stop'; Storyboard='System.Windows.Media.Animation.Storyboard'; Storyboard.HashCode='14445493'; Storyboard.Type='System.Windows.Media.Animation.Storyboard'; TargetElement='Telerik.Windows.Controls.GridView.GridViewRow'; TargetElement.HashCode='1651401'; TargetElement.Type='Telerik.Windows.Controls.GridView.GridViewRow' |
| dataGridView.GroupDescriptions.Clear(); |
| Telerik.Windows.Data.RadGroupDescription desc = new Telerik.Windows.Data.RadGroupDescription("LogicCall"); |
| Telerik.Windows.Data.SumFunction funcCallDuration = new Telerik.Windows.Data.SumFunction("CallDuration", "CallDuration", "Duration:"); |
| desc.AggregateFunctions.Add(funcCallDuration); |
| dataGridView.GroupDescriptions.Add(desc); |
| public class mF : Telerik.Windows.Data.SumFunction |
| { |
| public mF() |
| { |
| } |
| public mF(string propertyName, string calculationField, string caption) |
| { |
| base.Name = propertyName; |
| base.SourceField = calculationField; |
| base.Caption = caption; |
| } |
| private String GetTime(Decimal totalSeconds) |
| { |
| Int32 hours = (Int32)Math.Floor((double)totalSeconds / (double)3600); |
| Int32 minutes = (Int32)Math.Floor((double)(totalSeconds - (hours * 3600)) / (double)60); |
| Int32 seconds = (Int32)totalSeconds - (hours * 3600) - (minutes * 60); |
| return hours.ToString() + ":" + minutes.ToString() + ":" + seconds.ToString(); |
| } |
| public override Telerik.Windows.Data.AggregateResult Calculate(Telerik.Windows.Data.GroupRecord targetGroup) |
| { |
| Telerik.Windows.Data.AggregateResult result = base.Calculate(targetGroup); |
| result.Value = GetTime(Convert.ToDecimal(result.Value, System.Globalization.CultureInfo.CurrentCulture)); |
| return result; |
| } |
| } |
Hi there,
We are trying to incorporate RadGridView (RadControls for WPF Q2 2008) into our solution with Blend.
However we are unable to preview the Grid and that's odd, because it does work perfectly fine when copy&pasting the XAML code into any other solution that we have tested.
We are working on a large WPF application using .NET Framework 3.5 and yes, we have added all references to Telerik dlls.
Any clues as to what is preventing the preview of of the RadGrid View from within Blend?
Thank you all.
Rafael Minuesa
