Telerik Forums
UI for WPF Forum
1 answer
93 views
Hi,
I'm new to the diagram control and I've reached the point where I need assistance.

The application that I'm working on is intensively used over remote connection - the users are seldom on site (plants located all over the world) and most of the time they need to configure certain parameters of the application remotely.

Seen as a whole - the window contains a huge tab control for different settings and one of the tabs contains a diagram.
The application behaves all right even through the remote connection until the user switches to the tab with the RadDiagram - when the app becomes unresponsive - or at least sluggish - regardless of how many items that diagram contains.

Beside all the Remote Desktop Protocol Settings that we can change, what other options do I have to improve the responsiveness of my app in this situation?

Roxana
Pavel R. Pavlov
Telerik team
 answered on 05 Nov 2013
1 answer
104 views
I am having an issue with grouping, if I group by a column that contains a null value all is fine in this case the middle names have  a lot of nulls, but if I group by another column afterwards I get a crash, InvalidOpertationException Collection was modified; enumeration operation may not execute.  I am using entity framework bound directly to the grid.  Simple code below attached to an older version of adventure works, but anything with a column with nulls in it should work.  Just xaml.  Curious how to fix this or am I doing something completely wrong somewhere else?

<Window x:Class="GridGroupingTest.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:entites="clr-namespace:GridGroupingTest"
                xmlns:system="clr-namespace:System;assembly=mscorlib"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
        <telerik:RadEntityFrameworkDataSource Name="AIMEntityFrameworkDataSource" QueryName="DimCustomers">
            <telerik:RadEntityFrameworkDataSource.ObjectContext>
                <entites:AdventureWorksDW2008R2Entities1/>
            </telerik:RadEntityFrameworkDataSource.ObjectContext>
        </telerik:RadEntityFrameworkDataSource>
 
        <Border Grid.Column="0" BorderBrush="Black" BorderThickness="2" Margin="2">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
 
                <Label Content="Columns Shown:" Grid.Row="0" Grid.Column="0"/>
                <StackPanel  Background="White" Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" >
                    <ListBox ItemsSource="{Binding Columns, ElementName=RadGridView1}">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <CheckBox Content="{Binding Header}" IsChecked="{Binding IsVisible, Mode=TwoWay}" />
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
                </StackPanel>
 
                <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="1">
                    <Label Content="Filters"/>
                    <telerik:RadComboBox Margin="2" Width="150" DisplayMemberPath="name" ItemsSource="{Binding Filters}"
                            SelectedItem="{Binding SelectedFilter, Mode=TwoWay}"/>
                    <Button Command="{Binding LoadFilterCommand}" Content="Load"/>
                    <Button Command="{Binding DeleteFilterCommand}" Content="Delete"/>
                    <Label Content="Save Filter Name:"/>
                    <TextBox x:Name="SaveNameTextbox" Text="{Binding SaveNameText, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="150"/>
                    <Button Command="{Binding SaveFilterCommand}" Content="Save"/>
                    <Button  Content="Default"/>
                    <Button  Content="Clear All"/>
                </StackPanel>
 
                <telerik:RadGridView x:Name="RadGridView1" Grid.Row="1" Grid.Column="1"
                             ItemsSource="{Binding DataView, ElementName=AIMEntityFrameworkDataSource}"
                             Margin="0" GroupRenderMode="Flat"
                             SelectedItem="{Binding SelectedIndex}"
                             DataLoadMode="Asynchronous"
                             RowIndicatorVisibility="Collapsed"
                             IsReadOnly="True"
                             ShowColumnSortIndexes="True"
                             AutoGenerateColumns="False"
                             CanUserFreezeColumns="True"
                             CanUserResizeColumns="True"
                             ValidatesOnDataErrors="None" >
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn Header="First" ShowDistinctFilters="False"
                                            DataMemberBinding="{Binding FirstName}" DataType="system:String" />
                        <telerik:GridViewDataColumn Header="Middle" ShowDistinctFilters="False"
                                            DataMemberBinding="{Binding MiddleName}" DataType="system:String" />
                        <telerik:GridViewDataColumn Header="Last" ShowDistinctFilters="False"
                                            DataMemberBinding="{Binding LastName}" DataType="system:String" />
 
                        <telerik:GridViewDataColumn Header="Email" ShowDistinctFilters="False"
                                            DataMemberBinding="{Binding EmailAddress}" DataType="system:String" />
                        <telerik:GridViewDataColumn Header="Education" ShowDistinctFilters="False"
                                            DataMemberBinding="{Binding EnglishEducation}" DataType="system:String" />
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>
                <telerik:RadDataPager x:Name="radDataPager" Grid.Row="2" Grid.Column="1"
                          Source="{Binding Items, ElementName=RadGridView1}"
                          PageSize="30"/>
            </Grid>
        </Border>
    </Grid>
</Window>

Nick
Telerik team
 answered on 05 Nov 2013
1 answer
61 views
Hi,

I'm using Telerik V2012.2.912.35 and I would like to know if it's possible with the radscheduleview control to have 2 kinds of readonly slot??? I would lik to have passed slots into a color and the future slots into another color?

Thank's
Kalin
Telerik team
 answered on 05 Nov 2013
2 answers
132 views
Hello, in a RadTileList control I need to save each autogenerated tile's Display Index so I wanted to know if it is possibile to get the autogenerated tiles in a RadTileList control.
Thanks a lot.
Federico
Top achievements
Rank 1
 answered on 05 Nov 2013
3 answers
266 views
Dear Support,

I have defined some styles for the RadGridView in my global resource dictionary. why it does not automatically applied to controls, why i must set it explicitly? for example i have defined style for column headers but i must specify it as HeaderCellStyle for every column. 
Is there any way to define style in resources and applied it automatically  without specifying it?

Thanks
Pallavi.
Vanya Pavlova
Telerik team
 answered on 05 Nov 2013
3 answers
172 views
Hello there,

is it posssible to hide the complete GridView part of RadGanttView, therefore only show the timeline part?
Marcus
Top achievements
Rank 1
 answered on 05 Nov 2013
1 answer
121 views
I have a test app that uses the new Office2013 theme. I can successfully change the colours of theme in code, by setting the various Palette member. For instance 

  Office2013Palette
.Palette.AccentMainColor = ...

This all works, EXCEPT for 
EffectAccentHighColor. Not matter what value I use, the colour remains as the default blue colour. Any help on this?
Vanya Pavlova
Telerik team
 answered on 05 Nov 2013
8 answers
495 views
Hi
I have defined a user control that I display in a CellEditTemplate. I get the error "Specified element is already the logical child of another element... " in the second attempt to edit the cell. It displays my usercontrol successfully on the first edit attempt. My usercontrol is exposed via a viewmodel exposed as a property of my datacontext's viewmodel.

Here's an extract of the XAML.
<telerik:GridViewDataColumn.CellEditTemplate>
    <DataTemplate>
        <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Top">
            <telerik:RadDropDownButton DockPanel.Dock="Top" HorizontalAlignment="Stretch" Height="22"
                                       Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.AcctVm.SelectedAccount.Account_Code,Mode=TwoWay}"
                                       VerticalAlignment="Center" HorizontalContentAlignment="Left">
                <telerik:RadDropDownButton.DropDownContent>
                        <ContentControl Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.AcctVm.View}"
                                        VerticalAlignment="Stretch" Height="300" />
                </telerik:RadDropDownButton.DropDownContent>
            </telerik:RadDropDownButton>
        </DockPanel>
    </DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>

Is there a problem with this XAML or do you need more information?
Thanks
Craig
Yoan
Telerik team
 answered on 04 Nov 2013
1 answer
211 views
Hello,
when a GridView has no items to display, the funnels for the filters are not displayed, excepted for custom filters.
This poses problem for some cases. In my case, I have a custom filter that descends from FilteringControl. In the Prepare method, I call the inherited Prepare method and it raises an InvalidOperationException exception, with the following text: A column without EffectiveFilteringType cannot supply AvailableFilterOperators.
Patrick
Vera
Telerik team
 answered on 04 Nov 2013
4 answers
279 views
Dear all,
by default, the SchedulerView initializes the VisibleRange accordingly to the current date/ time.
Is there any way to set the visible time range in code behind (the VisibleRange, as well as VisibleRange.Start and VisibleRange.End properties are read-only).

Thanks 
Meik
Kalin
Telerik team
 answered on 04 Nov 2013
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?