Telerik Forums
UI for WPF Forum
3 answers
118 views

I can't seem to get my WPF application to compile properly. Telerik Version 2016.3.914.45

I had the 'SelectionChanged' event set on a RadGridView, and I needed to change it to 'SelectionChanging'. Now I can't run the application as the compiler is telling me :
"The member "SelectionChanging" is not recognized or is not accessible."

"The property 'SelectionChanging' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'."

 

The same property is set in other files and compiles correctly.

 

Also on just one RadComboBox I'm getting:

"The property 'SelectionChanging' was not found in type 'RadComboBox'. "

 

What is up with this property? I have tried cleaning my solution, rebooting my computer, removing the Telerik.Windows.Controls.GridView reference and re-adding it. What else can I try to get this property to work correctly?

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 Nov 2016
2 answers
352 views

Hello Telerik,

 

I have carefully read the examples you provided here and this one in particular seems to be the one I need

[C#] Example 4: A custom FilterDescriptor
// Give me all people that are with first name John.
var fd = new FilterDescriptor();
fd.Member = "FirstName";
fd.Operator = FilterOperator.IsEqualTo;
fd.Value = "John";
fd.IsCaseSensitive = true;
 
// In most cases the data engine will discover this automatically so you do not need to set it.
fd.MemberType = typeof(string);

 

It works. The grid starts filtered as expected, however it is not possible for the user to revert that initial filter.

Is there anything missing? I tried to find a running example for those filterdescriptors, but i couldn't. If there is one, can you please provide it?

 

Thank you!

Dilyan Traykov
Telerik team
 answered on 21 Nov 2016
9 answers
404 views

Hi to all,

I would to "sync" two GridView, my goal is allow the user to compare two lists, when he moves by scrollbar, both lists are moved in the same way.

Does anyone have any idea?

Dario Concilio
Top achievements
Rank 2
 answered on 21 Nov 2016
1 answer
173 views

I am looking for a wpf datagrid (teleriks wpf RadGridView) that supports, all of the following at the same time
• (1) column header filtering, sorting,
• (2) multi cell/row editing,
• (3) data virtualization (lazy data loading as you scroll),
• (4) and data via OData V4 (which does not support the DateTime data type, but rather supported is the DateTimeOffset data type)

Does the Telerik WPF RadDataView – allow this??

I looked at the features of your data grid here:
But it is hard to see if it is supporting requirements (1) – (4) listed above at the same time.
Also no mention of DateTimeOffset columns or OData V3 (or !) V4 are mentioned in your features listing.
The DataGrid we are looking for must not internally convert a DateTimeOffset Column (eg while filterng) to DateTime as this causes the request sent to the backend to fail (as with OData V4 we do not support the DateTime type for properties of our data objects).
Regards,
Paul

Stefan
Telerik team
 answered on 21 Nov 2016
0 answers
168 views

Hi all,

 

I thought a PivotGrid would be the perfect control to show a square matrix which values can beSelected dynamically using the RadPivotFieldList. But I'm unable to understand how I should model my data to leverage the PivotGrid builtin capabilities (like filtering). I can build the model I want. What I have now is a list of object that have the following fields:

 

Title1   Title2     X    Y       Z

A          A          x1    y1    z1

A          B          x2    y2    z2

A          C          x3    y3    z3

B          A          x4    y4    z4

B          B          x5    y5    z5

B          C          x6    y6    z6

C          A          x7    y7    z7

C          B          x8    y8    z8

C          C          x9    y9    z9

 

 

The UI result I'm looking for is a 3x3 matrix/grid

 

           A        B        C

A        x1       x2      x3

B        x4      x5      x6

C        x7      x8       x9

 

Where the xi can be changed to yi and zi using the RadPivotFieldList control.

This example has only 3 different values {A, B, C} but this list is much bigger in reality, hence the filtering feature need.

  1. Can the Pivot Grid achieve any of this?
  2. If not, what is the best way to display a matrix (GridView view code behind Column management seems a bit hacky, doesn't it?)

Thanks for your help

 

Nicolas
Top achievements
Rank 1
 asked on 21 Nov 2016
5 answers
164 views

Hi

I am trying to create a dynamic point series chart on DateTimeContinuousAxes but getting "No Series Added" message.

Here is the model classes I use:

01.public class SeriesModel{
02.        public ObservableCollection<DataPointModel> Items { get; set; }
03.}
04.public class DataPointModel {
05.        public DateTime Date { get; set; }
06.        public int NodeId { get; set; }
07.}
08. 
09.// In the MainWindow() constructor I create and populate Data collection
10.// with SeriesModel collections - one for each series.
11.ObservableCollection<SeriesModel> Data = new ObservableCollection<SeriesModel>();

 

Here is a fragment of XAML I use for creating a dynamic pointseries chart:

01.<telerik:RadCartesianChart.HorizontalAxis>
02.    <telerik:DateTimeContinuousAxis/>
03.</telerik:RadCartesianChart.HorizontalAxis>
04. 
05.<telerik:RadCartesianChart.SeriesProvider>
06.    <telerik:ChartSeriesProvider Source="{Binding Data}">
07.        <telerik:ChartSeriesProvider.SeriesDescriptors>
08.            <telerik:ChartSeriesDescriptor ItemsSourcePath="Items">
09.                <telerik:ChartSeriesDescriptor.Style>
10.                    <Style TargetType="telerik:PointSeries">
11.                        <Setter Property="CategoryBinding" Value="Date"/>
12.                        <Setter Property="ValueBinding"  Value="NodeId"/>
13.                    </Style>
14.                </telerik:ChartSeriesDescriptor.Style>
15.            </telerik:ChartSeriesDescriptor>
16.        </telerik:ChartSeriesProvider.SeriesDescriptors>
17.    </telerik:ChartSeriesProvider>
18.</telerik:RadCartesianChart.SeriesProvider>

 

Could you please help to find an error in this code?

Regards,

Vlad

Martin Ivanov
Telerik team
 answered on 21 Nov 2016
1 answer
170 views

The Grid is having two columns which are using two cell templates and not using any RowDetails template. 

While adding a new row, i need to click on "+" button and need to click again on the left end of the row to see the expanded row with loaded cell templates.

But i want to achieve with only single click "+" to add a expanded row. 

Below is the code snippet used for the grid:

 <views:RadGridView x:Name="datasource" Grid.Row="1" ItemsSource="{Binding Path=DataSource.StructuredParties}" 
                                        Margin="5" AutoGenerateColumns="False" ShowGroupPanel="False" IsFilteringAllowed="False" 
                                        CanUserSortColumns="False" VerticalAlignment="Top" ShowInsertRow="True" 
                                        SelectedItem="{Binding SelectedPartyModel}" KeyboardNavigation.TabNavigation="Continue" 
                                        CellEditEnded="FwAbstractEntityGridView_CellEditEnded" Deleting="FwAbstractEntityGridView_Deleting">
            <views:RadGridView.Columns>
                <views:RadGridViewDataColumn 
                    Header="{x:Static Resources:OcrMessages.PartyTypeColumnHeader}" 
                    DataMemberBinding="{Binding Converter={StaticResource partyNameConverter}}" 
                    CellTemplate="{StaticResource DataEditTemplate}" Width="*" />
                
                <views:RadGridViewDataColumn Header="{x:Static Resources:OcrMessages.PartySharePortionColumnHeader}" 
                    DataMemberBinding="{Binding GroupShare, Converter={StaticResource zeroNumberConverter}}" 
                    CellTemplate="{StaticResource SharePortionEditTemplate}" Width="Auto" />
            </views:RadGridView.Columns>
        </views:RadGridView>

Stefan
Telerik team
 answered on 18 Nov 2016
1 answer
570 views

Hi,

 

I have a RadGridView ( ClipboardCopyMode="Cells,Header"  SelectionMode="Multiple" SelectionUnit="FullRow"). How can I raise the Copy and Paste Event which I would like to write into the Copy Button. I want the selected row and the header of the radGridView column to copy to clipboard without using Ctrl + C.

 

Thank you

Dilyan Traykov
Telerik team
 answered on 18 Nov 2016
5 answers
162 views

Hi there,

just a quick question: I'm trying to implement dragging items from one RadGridView to another. I basically sticked to the example from the Telerik docs (http://docs.telerik.com/devtools/wpf/controls/dragdropmanager/how-to/howto-draganddrop-within-radgridview). And it works! Only once, though. First time I drag an item, I can see the visual as expected and I can drop it on the other grid. When I try to drag the next item, no visual appears. Same thing with the following tries. If I restart the view, again, only the first drag operation shows the visual. Interestingly, the drag/drop operation works all the time. Only the visual vanishes after showing up once...

Seems to me like something is not properly cleaned up and kind of re-initialized in some wrong way the second time.

Does someone have an idea?

Marcel

Ivan Ivanov
Telerik team
 answered on 18 Nov 2016
1 answer
139 views

Is there a way to select a default folder for a PropertyGrid File Editor?  

I'm currently adding this attribute to my properties which handles everything.

[Editor(typeof (Xceed.Wpf.Toolkit.PropertyGrid.Editors.FileEditor), typeof (Xceed.Wpf.Toolkit.PropertyGrid.Editors.FileEditor))]

 

Thanks in advance.

Darren
Top achievements
Rank 1
 answered on 18 Nov 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?