Telerik Forums
UI for WPF Forum
5 answers
547 views
What is the best way to completely turn animation off?  I tried setting all of the properties to TimeSpan of zero, as well as setting AnimationSettings to null.  My window has 23 charts on the screen when it loads, each with a bar and line series.  I still see an odd flicker when the window loads.  It looks like it briefly displays the bar and line pieces in various places, then it positions and sizes everything (after that it looks fine...this happens in about a second).  Maybe the animation is still there, but it is trying to happen very fast.
Velin
Telerik team
 answered on 03 Dec 2008
1 answer
117 views
Hi,

I am receiving (quite frequently) the following in my Project Output Screen when using the DataGrid for WPF

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' 

and

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' 

Is there a way to resolve this. I would really prefer that it didn't happen.

Cheers

Justin

Nedyalko Nikolov
Telerik team
 answered on 02 Dec 2008
1 answer
146 views
Hi All!

How I can collapsing all groupHeaders rows by programming grouping?

Source code of grouping:
            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); 

PS. May I collapsing all groupHeader when user drag'n'drop fields to the grouping panel?
Nedyalko Nikolov
Telerik team
 answered on 01 Dec 2008
1 answer
190 views
Hello!

I have a table with time of call in seconds.
I grouping my table and add a SumFunction.
All works great!

But I need display result of SumFunction like this: HH:MM:SS where HH - hours, MM - minutes and SS - seconds.

Can you tell me how to do it?

I can create inheritance class from SumFunction like this:
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;  
        }  
    } 
But this class properly work only if I have 1 grouping. 
If I add another one grouping i have exception (what it was necessary to expect, because format HH:MM:SS SumFunction cant convert to Decimal).

Please, help.
Hristo Deshev
Telerik team
 answered on 01 Dec 2008
1 answer
106 views
Hi,

The Visual Studio C# Examples Solution is not buildable.
The first error is in CarDashboard.Example.xaml.cs (Line #91): 
-  no overload for method 'Begin' takes '0' arguments

The C# Samples application crashes also after a few seconds.
 
My Environment:
- CLR3.5
- VS2008SP1
- Silverlight 2.0
- SQL Server 2005
- Telerik Build 2008.3.1105.35

Btw. The online WPF (Silvelright) demo does crash while switching from one sample to another.

Cheers,
Jani
Valeri Hristov
Telerik team
 answered on 01 Dec 2008
3 answers
192 views
Is there a way I can modify the colors on the simple theme?

(using the grid) When an item is highlighted, I want the text color to be white instead of black.  Thanks
Nedyalko Nikolov
Telerik team
 answered on 26 Nov 2008
4 answers
93 views

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

Hristo Deshev
Telerik team
 answered on 26 Nov 2008
8 answers
203 views
I installed it to test to see if it's good for me, but it keeps crashing every couple of seconds, whenever I click anything in the DEMO window.
My OS version is Vista 64-bit, I have installed VS 2008 and .Net framework 3.5 SP1.
Thanks.

Description:
  Stopped working

Problem signature:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    telerik.windows.examples.exe
  Problem Signature 02:    1.0.1.0
  Problem Signature 03:    49142f0e
  Problem Signature 04:    System.Data
  Problem Signature 05:    2.0.0.0
  Problem Signature 06:    4889ece0
  Problem Signature 07:    2742
  Problem Signature 08:    29
  Problem Signature 09:    System.Data.SqlClient.Sql
  OS Version:    6.0.6000.2.0.0.256.1
  Locale ID:    5146

nazovi
Top achievements
Rank 1
 answered on 26 Nov 2008
1 answer
142 views
I am using the wpf treegrid and want to be able to drag only certain items into only certain drop targets within the tree.

I noticed all of the querycontinue and other Wpf drag drop events do not fire at all so the only option I have to choose if a target is valid or not is what the documentation references: the IsDropAllowed property on the RadTreeItem itself.

the problem with this is all it does is suppress the preview from actually moving the item in the tree. I need to be able to change the drag icon to some sort of indicator saying the target is invalid. Just like WPF allows with its DragEventArgs.Effects = DragDropEffects.None

any help is very much appreciated. It seems rediculous to recurse through the entire tree on every DragStarted eventHandler and set the isDropAllowed to true or false for each node. But even if that is the only acceptable method for some strange reason, it should at least work and change the cursor to an (X)
Valentin.Stoychev
Telerik team
 answered on 25 Nov 2008
2 answers
191 views
Hi,

I was wondering if it is possible to remove the blue mouse-over effect that appears on the content area of a RadPanelBarItem. I can override the colours for this effect on the header of this control, but can't find a way to remove or disable it on the content area. I am currently using the 2008 Q2 SP1 release of RadControls for WPF.

Thanks in advance,

Craig.
Craig
Top achievements
Rank 1
 answered on 24 Nov 2008
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?