Telerik Forums
UI for WPF Forum
1 answer
105 views
Hi,
I want to build an applicaiton using WPF and ORM from telerik....Do you support VS 2008 Express Edition?
Thanks in advance.
Boyan
Telerik team
 answered on 13 Jul 2009
1 answer
141 views
Hi,

How can I use a button click on an expandable row style to show the child data?

Currently using the click event, i get the Expandable Row and set IsExpanded=True, but this makes no difference.

Milan
Telerik team
 answered on 13 Jul 2009
3 answers
381 views
I and my partner are trying to figure out how to move current row (the highlighted one) in the RadGridView by pressing "Up" or "Down" buttons on our form. Is there a way of doing it ?


Milan
Telerik team
 answered on 13 Jul 2009
1 answer
389 views
I'm populating a RadGridView with data that comes in asynchronously from a WCF service. The service sends blocks of records, say 200 at a time, which are then put into an ObservableCollection which is bound to the ItemsSource property of the grid. I would like to turn on Asynchronous loading of the data (DataLoadMode=Asynchronous), but when I do this, I get the following exception:

Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)  
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()  
at System.Collections.Generic.List`1.Enumerator.MoveNext()  
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()  
at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList() in c:\\Builds\\WPF_Scrum\\Core_WPF\\Sources\\Development\\Core\\Data\\Collections\\QueryableCollectionView.cs:line 423  
at Telerik.Windows.Data.QueryableCollectionView.get_InternalList() in c:\\Builds\\WPF_Scrum\\Core_WPF\\Sources\\Development\\Core\\Data\\Collections\\QueryableCollectionView.cs:line 406  
at Telerik.Windows.Data.QueryableCollectionView.GetEnumerator() in c:\\Builds\\WPF_Scrum\\Core_WPF\\Sources\\Development\\Core\\Data\\Collections\\QueryableCollectionView.cs:line 269  
at Telerik.Windows.Data.RecordFactory.<CreateRecordsForGroupRecord>d__0.MoveNext() in c:\\Builds\\WPF_Scrum\\Core_WPF\\Sources\\Development\\Core\\Data\\Data\\Records\\RecordFactory.cs:line 28  
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)  
at Telerik.Windows.Controls.GridView.GridViewDataControl.PopulateRecords() in c:\\Builds\\WPF_Scrum\\GridView_WPF\\Sources\\Development\\Controls\\GridView\\GridView\\GridView\\GridViewDataControl.cs:line 3178  
at Telerik.Windows.Controls.GridView.GridViewDataControl.OnAsyncDataLoadWorkerDoWork(Object sender, DoWorkEventArgs e) in c:\\Builds\\WPF_Scrum\\GridView_WPF\\Sources\\Development\\Controls\\GridView\\GridView\\GridView\\GridViewDataControl.cs:line 3153  
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)\r\n   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)" 

This is with the Q2 2009 release of the WPF controls.

The datasource will be continually updated and changed as records are added and deleted to it.

Any ideas on how I can get this to work safely?

Thanks!
Vlad
Telerik team
 answered on 13 Jul 2009
1 answer
131 views
Hi There

I am wondering if it is possible to change  row background colors programmatically instead of using the UseAlternateRowStyle property. Since the latter only allows to choose two colors. If possible, How?

Many thanks

Fu
Rossen Hristov
Telerik team
 answered on 10 Jul 2009
1 answer
208 views
I want to put a label with the unit inside my gauge, for example "C°", that is on the same place if i resize the gauge. How do i do?
Andrey
Telerik team
 answered on 10 Jul 2009
3 answers
172 views
Blend 2.5
RadControls 2008 Q3

Edit Control Parts (Template) > Edit a Copy > This Document >

Exception: Type Reference cannot find public type named 'RadGridView'

Any clue?
McLanahan Stevens
Top achievements
Rank 1
 answered on 09 Jul 2009
2 answers
160 views
Using the new facilities in the Q2 charts, e.g. strict mode, and the automatic label stepping - many thanks for doing these - I am now much happier with the radchart for the purpose I want to put it to - real time plotting of weather data. I've bound a line chart to a collection containing a DateTime and a temperature, and the resulting chart is working well, apart from the fact that it doesn't fill the whole X axis. Sometimes the gap at each end is quite large relative to the size of the plot, e.g:

http://nybbles.co.uk/images/chart1.jpg

The first point was actually plotted at about 21:20:30.

Is it possible to make the line fill the chart?

Steve



SteveL
Top achievements
Rank 2
 answered on 09 Jul 2009
3 answers
277 views
Hi

I've been following this example for binding to object data.

However I can't specify the <DataTemplate>.

Instead I get the message "Property 'VisualTree' does not support values of type 'DataTemplate'".

What am I doing wrong?
<UserControl x:Class="ReportDistribution.Client.ReportMgr.WpfApp.UserControls.ReportMenuPanel" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    Height="300" Width="270"> 
    <UserControl.Resources>         
        <ItemsControl> 
            <ItemsControl.ItemTemplate> 
                <HierarchicalDataTemplate x:Key="Entity" ItemsSource="{Binding ClientReport}">                    
                    <DataTemplate> 
                        <TextBlock Text="{Binding Name}"></TextBlock> 
                    </DataTemplate> 
                </HierarchicalDataTemplate> 
            </ItemsControl.ItemTemplate> 
        </ItemsControl>    
    </UserControl.Resources> 
    <Grid>         
        <Grid.RowDefinitions> 
            <RowDefinition Height="35"></RowDefinition> 
            <RowDefinition></RowDefinition> 
        </Grid.RowDefinitions> 
        <Grid.ColumnDefinitions> 
            <ColumnDefinition></ColumnDefinition> 
        </Grid.ColumnDefinitions> 
        <Border Grid.Row="0" BorderBrush="Black" BorderThickness="1"> 
            <Border.Background> 
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1"> 
                    <GradientStop Color="#ADCFFF" /> 
                    <GradientStop Color="#599BFF" Offset="1"></GradientStop> 
                </LinearGradientBrush> 
            </Border.Background> 
        </Border> 
        <TextBlock Grid.Row="0" VerticalAlignment="Center" FontSize="14" FontWeight="Bold" Margin="5">Reports</TextBlock> 
        <Border Grid.Row="1" BorderBrush="Black" BorderThickness="1,0,1,1"> 
            <Border.Background> 
                <SolidColorBrush Color="White" /> 
            </Border.Background> 
        </Border> 
        <telerik:RadPanelBar x:Name="reportMenuPanelBar" Grid.Row="1" Margin="1,0,1,1" ItemTemplate="{StaticResource Entity}" ItemsSource="{Binding}"> 
             
        </telerik:RadPanelBar> 
                 
    </Grid> 
</UserControl> 



Tihomir Petkov
Telerik team
 answered on 09 Jul 2009
2 answers
309 views
Hello

My WPF RadGridView is bound to a list of business objects using its ItemsSource property. So far we were using the grid's Records property to get all objects that are being displayed after filtering and in the current sort order. In the latest version of the WPF control suite (Q2 2009) mostly everything related to RadGridView.Records (Record and DataRecord class) is marked as obsolete. So how to get the list of displayed items now?

I've already tried CollectionViewSource.GetDefaultView(myGrid.ItemsSource) but this gets the whole list not only the list after filtering.

Thanks for any help

Christian
Christian
Top achievements
Rank 1
 answered on 09 Jul 2009
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?