Telerik Forums
UI for WPF Forum
3 answers
413 views
This has happened on a couple of my WPF pages that use the GridView.  I select an item on my list which populates some textboxes.  I update those textboxes, click "Update" and then reload the GridView.  Reloading the GridView consists of re-retrieving the data and setting the ItemsSource.  On this particular page I have, it binds properly the first time, but all subsequent re-binds I get this.  Any ideas what might be happening?
Nedyalko Nikolov
Telerik team
 answered on 05 Dec 2008
3 answers
323 views
Hello

I have a WPF GridView with Parent / Child data and would like the GridView to fill the space with as much as possible.

In my test scenario, I have 2 parents.  The first parent has approx 1200 records, the second parent has about 4 records.

I have about 50% of the page as white space, though the horizontal scrollbar is at the very bottom of the page as it should be.

 I have triad a VerticalAlignment="Stretch" and VerticalContentAlignment="Stretch" with no change.

Any ideas for the resolution is appreciated.

Thank you for great products.
Nedyalko Nikolov
Telerik team
 answered on 04 Dec 2008
5 answers
594 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
138 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
162 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
204 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
126 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
223 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
111 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
222 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
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?