Hello!
I am using the Installer Projects Extension for VS (Enterprise 2015) and having a problem with the localization-folders of the Telerik-Controls - they are not packed into the setup, so if I install it on other clients, there only will be the english localization of the controls.
Does anybody know the best-case to pack the (current) localization-files into the setup-project?
kind regards
Ludwig
hi
I have a simple WPF project and an in-memory observable collection bound to it from here:
http://docs.telerik.com/devtools/wpf/controls/radgridview/populating-with-data/in-memory-date
The IsReadOnly property is set to False. When I click a cell it simply turns white (loses the content) and is read-only.
What am I missing here?
Regards,
Michael
Hi,
I've binded a QueryableEntityCollectionView to a GridView. This works fine, except I'm unable to sort the [NotMapped] property in my model.
This property 'Age' is being calculated. The data is being shown correctly as long there is no sort defined.
I'm using EF for data layer.
Cheers!
Eric
Hi,
I have several ViewModels linked to my RadDiagram; and some are children of others. I'd like that, when I select one, the children view models get selected as well so I can drag all of them as a group.
The problem is that doing this breaks the dragging of the shapes on the screen, and the first one of the children shapes doesn't follow the dragging of the others. The other children drag along just fine. Am I doing something wrong?
Thanks a lot,
Pierre
private void onPropertyChanged(object sender, PropertyChangedEventArgs args){
if (args.PropertyName.Equals(nameof(this.IsSelected)))
{
foreach (var child in this.ChildrenViewModels)
{
child.IsSelected = this.IsSelected;
}
}
}
Hello. I developed WPF MVVM Prism 6 application. There is RadCartesianChart with CartesianChartGrid there. Please see XAML below:
<
telerik:RadTileView
Grid.Row
=
"1"
Grid.Column
=
"0"
PreservePositionWhenMaximized
=
"True"
MinimizedColumnWidth
=
"150"
>
<!--Chart of signal-->
<
telerik:RadTileViewItem
Header
=
"First signal chart"
>
<
telerik:RadCartesianChart
x:Name
=
"chart1"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
EmptyContent
=
"{Binding FirstSensorChartEmptyContent}"
>
<!--Turn scrollbars off-->
<
telerik:RadCartesianChart.Resources
>
<
Style
TargetType
=
"telerik:PanZoomBar"
>
<
Setter
Property
=
"Visibility"
Value
=
"Collapsed"
/>
</
Style
>
</
telerik:RadCartesianChart.Resources
>
<!-- X-axis -->
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
LabelInterval
=
"4"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<!-- Y-axis -->
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
Minimum
=
"-128"
Maximum
=
"127"
MajorStep
=
"8"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<!--Series of the chart-->
<
telerik:SplineSeries
CategoryBinding
=
"Item1"
ValueBinding
=
"Item2"
ItemsSource
=
"{Binding FirstSensorData}"
Style
=
"{StaticResource SplineSeriesStyle}"
/>
<!--Layout grid-->
<
telerik:RadCartesianChart.Grid
>
<
telerik:CartesianChartGrid
MajorLinesVisibility
=
"XY"
StripLinesVisibility
=
"XY"
IsTabStop
=
"False"
>
<
telerik:CartesianChartGrid.YStripeBrushes
>
<
SolidColorBrush
Color
=
"#FFD7D7D7"
Opacity
=
"0.3"
/>
<
SolidColorBrush
Color
=
"Transparent"
/>
</
telerik:CartesianChartGrid.YStripeBrushes
>
<
telerik:CartesianChartGrid.XStripeBrushes
>
<
SolidColorBrush
Color
=
"#FFD7D7D7"
Opacity
=
"0.3"
/>
<
SolidColorBrush
Color
=
"Transparent"
/>
</
telerik:CartesianChartGrid.XStripeBrushes
>
</
telerik:CartesianChartGrid
>
</
telerik:RadCartesianChart.Grid
>
<!--Panning and zooming---->
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartPanAndZoomBehavior
DragMode
=
"Pan"
ZoomMode
=
"Both"
PanMode
=
"Both"
/>
</
telerik:RadCartesianChart.Behaviors
>
</
telerik:RadCartesianChart
>
</
telerik:RadTileViewItem
>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
</
telerik:RadTileView
>
As you can see in my application I use RadCartesianChart inside RadTileView. I display the layout of only one chart, but all eight of them. Each of them is in its own RadTileViewItem. The problem is that the one of my customers doesn't see layout grid on his computer. He sees: 1) X-axis and Y-axis, 2) All the risks and labels of individual segments on the X-axis and Y-axis, 3) The series (signal curve) but he doesn't see layout grid! He has Windows 7 OS with servicepack 1 on his computer. But the other customer who also install my application sees layout grid perfectly. This second customer also has a computer with Windows 7 OS with servicepack 1 but he has no problem with visualizing of charts.
Hello Telerik Team,
I am currently using your telerik Q2 WPF with VisualStudio2013 theme.
I want to add a DropShadowEffect to my main Window.
The Shell is based on RadRibbonWindow as a main Window.
I want to apply a DropShadowEffect on the RadRubbonWindow, but it is like the effect is ignored at all.
<
telerik:RadRibbonWindow
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
....
>
<
telerik:RadRibbonWindow.Effect
>
<
DropShadowEffect
Direction
=
"-190"
BlurRadius
=
"15"
Opacity
=
"0.4"
Color
=
"Red"
/>
</
telerik:RadRibbonWindow.Effect
>
I have the red border on Blend and Visual studio, but when the application is running nothing is present.
How can I solve this?
After some hours of "try & error" without success, I'd like to ask here ...
How can I enable the AppointmentSelectionChanged event for touched Appointment objects?
When these Appointment objects are selected by using the mouse, it's working fine.
But trying to do the same with touch input fails.
In general, touch input can be used in ScheduleView, for instance by doing double clicks with touch on Appointment objects.
But unfortunately, the single "click" with touch fails ...
Are there any ideas to fix it?
Thanks a lot in advance!
Hagen
Hi,
We are trying to get the columnHeaderProperty using TableItemPattern on the Automationelement of cell inside RadGridView but it is giving wrong header value. It is giving the next header value. Here RawGridView have columns and rows virtualization support enabled.
Regards,
Nagasree.
How can I insert text in a group footer's cell?
01.
public
MainWindow()
02.
{
03.
InitializeComponent();
04.
05.
var style =
new
Style();
06.
style.Setters.Add(
new
Setter(GroupHeaderRow.ShowGroupHeaderColumnAggregatesProperty,
false
));
07.
style.Setters.Add(
new
Setter(GroupHeaderRow.ShowHeaderAggregatesProperty,
false
));
08.
var radGrid =
new
RadGridView { GroupRenderMode = GroupRenderMode.Flat, GroupRowStyle = style};
09.
Content = radGrid;
10.
11.
// Table schema
12.
var data =
new
DataTable();
13.
var user = data.Columns.Add(
"User"
);
14.
var cat = data.Columns.Add(
"Category"
);
15.
var amt = data.Columns.Add(
"Amount"
,
typeof
(
decimal
));
16.
17.
// Populate values
18.
var catValues =
new
[] {
"Cat A"
,
"Cat B"
,
"Cat C"
};
19.
for
(var i = 0; i < 20; i++)
20.
{ data.Rows.Add(
"User "
+ i, catValues[i % catValues.Length], i * 100d); }
21.
22.
// Prepare RadGridView
23.
radGrid.ItemsSource = data;
24.
radGrid.AutoExpandGroups =
true
;
25.
radGrid.ShowColumnFooters =
true
;
26.
radGrid.AutoGenerateColumns =
false
;
27.
28.
// Build RadGrid columns
29.
var gridColumns =
new
[] {user, cat, amt}
30.
.Select(dataColumn =>
new
GridViewDataColumn
31.
{
32.
UniqueName = dataColumn.ColumnName,
33.
DataMemberBinding =
new
Binding(dataColumn.ColumnName),
34.
})
35.
.ToList();
36.
radGrid.Columns.AddRange(gridColumns);
37.
38.
// Sum Amount
39.
var amtCol = gridColumns.Last();
40.
var amtFormat =
"{0:C}"
;
41.
amtCol.DataFormatString = amtFormat;
42.
amtCol.AggregateFunctions.Add(
new
SumFunction()
43.
{
44.
SourceField = amt.ColumnName,
45.
SourceFieldType = amt.DataType,
46.
ResultFormatString = amtFormat
47.
});
48.
radGrid.ShowGroupFooters =
true
;
49.
50.
// Group by category
51.
var catGroup =
new
GroupDescriptor { Member = cat.ColumnName, };
52.
radGrid.GroupDescriptors.Add(catGroup);
53.
54.
// Show grand total label
55.
radGrid.Columns[0].Footer =
"Grand Total"
;
56.
57.
// todo: How to show group subtotal label?
58.
59.
}