Telerik Forums
UI for WPF Forum
3 answers
67 views
In some gridviews I need to be able to show variance between rows and/or columns as percentage or delta change.

Is there anything in Telerik controls that support anything like this. My one solution is just to calculate it outside and add new items to the collection that represent these aggregate values. Are there any simpler or better solutions available?
Pavel Pavlov
Telerik team
 answered on 30 Apr 2013
7 answers
236 views
Hi,

when editing grouped data the row-order changes when the gridview is not sorted at all or the sort-values are not distinct.
After editing a value the just edited row jumps to the last position of the group. Maybe it has something to do with the RowState (the gridview is bound to a strongly typed DataSet). Also the aggregates are not updating when the data changes.
Also after programmatically grouping a few times the GridViewDataColumn's SourceUpdated-events are not getting raised anymore? Is grouped-data supposed to be read-only?
Am I missing something?



Any ideas?

Best Regards
Steffen

Dimitrina
Telerik team
 answered on 30 Apr 2013
3 answers
116 views
Hi,
    I have problem with my RadPieChart. I have added pie chart successfully but when I tries to add more series of Pie, they gets overlapped.
That's why i am not able to see my previous pie series properly.Also the labels are getting overlapped. Is there any way to avoid this problem?
I have one more question about bubble series. Is there any way to add bubble series in the RadChartView charts or any way to implement this ?
Thanks in advance.
    
Ves
Telerik team
 answered on 30 Apr 2013
0 answers
58 views
Hi,

I'm trying to show the count of appointments that are there in total and that have been filtered.

I'm trying to achieve something like - You're viewing "x" out of "y" appointments.
where,
x = count of the filtered appointments
y = count of the total appointments.

I've found on some forum posts that this is not achieveable (2011 posts) but those posted later (2012-2013) show some tricks to acheive this. I wasn't able to acheive this. Could you please help me with the same?
Maaz
Top achievements
Rank 1
 asked on 30 Apr 2013
4 answers
375 views
Hello sir,

I found something strange when I use RadGridView.
I'm using GridViewDataColumn and RadComboBox for my grid. and I also use CellStyle to enble/disble columns.

My code is as below.


<telerik:RadWindow x:Class="NetworkDesignTool.CameraSettingsPane"
                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:primitives="clr-namespace:Telerik.Windows.Controls.Diagrams.Primitives;assembly=Telerik.Windows.Controls.Diagrams"
                xmlns:local="clr-namespace:NetworkDesignTool"
                Header="Video setup"
                ResizeMode="CanMinimize"
                WindowStartupLocation="CenterScreen"   
                Height="350" Width="600">
 
    <telerik:RadWindow.Resources>
        <Style x:Key="GridViewCellStyle" TargetType="telerik:GridViewCell" />
        <Style x:Key="OneClickComboBox" TargetType="telerik:RadComboBox">
            <Setter Property="OpenDropDownOnFocus" Value="True"/>
        </Style>
 
        <Style x:Key="disabledStyle" TargetType="telerik:GridViewCell">
            <Setter Property="IsEnabled" Value="{Binding IsActive, Mode=TwoWay}"/>
        </Style>
         
    </telerik:RadWindow.Resources>
     
     
    <Grid>
        <telerik:RadGridView RowIndicatorVisibility="Collapsed"
                             ShowGroupPanel="False"
                             AutoGenerateColumns="False"
                             CanUserFreezeColumns="False"
                             IsFilteringAllowed="False"
                             ItemsSource="{Binding VideoProfiles}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ID}"
                                            Header="ID" IsSortable="False" IsReadOnly="True"/>
 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding IsActive}"
                                            Header="Use"
                                            IsReadOnly="True">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}"/>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
                 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"
                                            Width="150"
                                            Header="Profile Name" IsSortable="False"
                                            CellStyle="{StaticResource disabledStyle}"
                                            />
 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Codec, Mode=TwoWay}"
                                            Width="*"
                                            IsReadOnly="True"
                                            Header="Codec" IsSortable="False">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox SelectedValuePath="Codec"
                                                 SelectedValue="{Binding Codec}"
                                                 ItemsSource="{Binding CodecsRange}"
                                                 IsEnabled="{Binding IsActive, Mode=TwoWay}"
                                                 DisplayMemberPath="Name" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Resolution, Mode=TwoWay}"
                                            Width="*"
                                            IsReadOnly="True"
                                            Header="Resolution" IsSortable="False">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox SelectedValuePath="Resolution"
                                                 SelectedValue="{Binding Resolution}"
                                                 ItemsSource="{Binding ResolutionsRange}"
                                                 IsEnabled="{Binding IsActive, Mode=TwoWay}"
                                                 DisplayMemberPath="Name" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Framerate, Mode=TwoWay}"
                                            Width="*"
                                            IsReadOnly="True"
                                            Header="Framerate" IsSortable="False">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox SelectedValuePath="Framerate"
                                                 SelectedValue="{Binding Framerate}"
                                                 ItemsSource="{Binding FrameratesRange}"
                                                 IsEnabled="{Binding IsActive, Mode=TwoWay}"
                                                 DisplayMemberPath="Name" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
 
 
 
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
 
    </Grid>
</telerik:RadWindow>


And I am attaching a picture about this one.
Hyunho
Top achievements
Rank 1
 answered on 29 Apr 2013
2 answers
123 views
Hi,
Does RadEntityFrameworkDataSource of OpenAccess ORM fully supports? Or just EntityFramework support? If there's an example please upload. Thanks.
Steve
Top achievements
Rank 1
 answered on 29 Apr 2013
6 answers
161 views
I'm new to Open Access, WPF and XAML.
My problem is I'm using an OpenAccess reverse-modelled table as the source for a WPF DataForm.
Everything works great as long as I 'Edit' rows but...
 - can't Add (button is disabled)
 - can't Delete (button is disabled)
 - can't Cancel an edit (button is disable)
Committing an Edit works great.  Navigation works Great.

Am I missing a setting in my Model, WPF or in XAML?

Thanks...
Hiwa
Top achievements
Rank 2
 answered on 29 Apr 2013
1 answer
188 views
Hi,

i would like to use the RadTileList for the selection of single files from a Recently Used File list. How can I attach a command which gets executed when the users selects a tile?

I know that in the way Modern UI works there should be a separate action list with all the available actions. I just want that a single action is executed.

Right now I am using a separate button which is not intuitive especially within a touch based UI.

Regards,
Peter
Maya
Telerik team
 answered on 29 Apr 2013
1 answer
247 views
I've searched for a while but cannot seem to find a clear answer that works for the issue. I have a datagrid that is entirely auto generated. To this I added a context menu for right clicks when the cell is not in editable mode (see below). I would like to use the same menu when the cell is in edit mode i.e. I want to override the default context menu. I've tried various options including adding a CellEditTemplate in the code behind but this does not work because I need to reference the instance of the context menu in a non static (not sealed) context and templates only appear to want to work in a static/sealed context. What should I be doing?

<telerik:RadGridView x:Name="dataGridView" Margin="5,10,5,5"
    AutoGenerateColumns="True"
    AutoGeneratingColumn="DataGridView_AutoGeneratingColumn"
    ...other options....>
    <telerik:RadGridView.ContextMenu>
        <ContextMenu x:Name="gridContextMenu">
            <MenuItem x:Name="clearCellMenuItem" Header="Clear Cell" />
            <MenuItem x:Name="clearRowMenuItem" Header="Clear Row" />
            <MenuItem x:Name="clearAllMenuItem" Header="Clear All" />
            <Separator x:Name="separatorMenuItem" />
            <MenuItem x:Name="copyMenuItem" Command="Copy" Header="_Copy" />
            <MenuItem x:Name="pasteMenuItem" Command="Paste" Header="_Paste" />
        </ContextMenu>
    </telerik:RadGridView.ContextMenu>
</telerik:RadGridView>

Thanks

Colin
Yoan
Telerik team
 answered on 29 Apr 2013
2 answers
373 views
Hello,

I was trying to build up the DataTemplate for the HierarchyChildTemplate in my code.

As example the one from the online documentation http://www.telerik.com/help/wpf/gridview-how-to-access-child-gridview.html
<telerik:RadGridView Name="gridView" ItemsSource="{Binding Person}">
<telerik:RadGridView.ChildTableDefinitions>
<telerik:GridViewTableDefinition />
</telerik:RadGridView.ChildTableDefinitions>
<telerik:RadGridView.HierarchyChildTemplate>
<DataTemplate>
<telerik:RadGridView ItemsSource="{Binding Children}" Name="childGrid" ShowGroupPanel="False" />
</DataTemplate>
</telerik:RadGridView.HierarchyChildTemplate>
</telerik:RadGridView>

I tried something like:
gridView.HierarchyChildTemplate =
                new DataTemplate(
                        new RadGridView
                        {
                            ShowGroupPanel = false,
                            IsReadOnly = true,
                            ItemsSource = new Binding("Children")
                        });

But i set the dataType in that constructor and not same property like in the xaml. What's the property i need to set?

Thanks.


Jerome
Top achievements
Rank 1
 answered on 29 Apr 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?