Telerik Forums
UI for WPF Forum
3 answers
533 views
I have a telerik RadGridView that I would like to bind the row selection to a ICommand object, so my viewModel can execute it's code. I obviously cannot bind the SelectionChanged Event to a command, so I was wondering if there was another way to do this currently? Thank you for any assistance.
Casey Watson
Top achievements
Rank 1
 answered on 14 Jul 2009
1 answer
82 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
127 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
346 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
343 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
93 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
183 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
148 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
113 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
226 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
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)
DesktopAlert
WatermarkTextBox
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?