I have a confused issue
There is a listbox and it's items is also listbox I want to do something when double the subitem listbox's item
when the subitem listbox is not show full, click it's item once, the listbox will show full and the item's position will change,so can not double click the item
as the attach pic show I can double click the "aaa" item but can not doube click the "bbb" item when the second listbox is not show full
Is any solution to resolve this issue?
thank you
For the life of me I can't see what's wrong. I have a radgriview and I edit rowdetails with the raddataform. everything works great except the validation.
I am using the code below metadatatype (as an example) to add validation attributes to a class generated by EF. Obviously, this class is what I have bound to the dataform. I've stripped it to the bare min for this discussion.
The commented out code below shows a "buddy" class that I have implemented as a test to make sure the annotations are working. They are. If I have to create buddy classes and copy data for each returned record from a database query I will, but it seems rather a pain.
Any insight would be greatly appreciated. I read somewhere that this metadata thing is not support by you. Is this true? If so, what is the recommended way of getting the job done?
Thanks ... Ed
[MetadataType(typeof(CALMS_SamplesMetaData))]
public partial class CALMS_Samples: ValidatableBindableBase
{
}
public class CALMS_SamplesMetaData : ValidatableBindableBase
{
private string _clientSampleID;
[Required(ErrorMessage = "Required.")]
[MaxLength(50, ErrorMessage = "Exceeded 50 characters")]
public string ClientSampleID
{
get { return _clientSampleID; }
set { SetProperty(ref _clientSampleID, value); }
}
}
//public partial class CALMS_Samples : ValidatableBindableBase
//{
// private string __test1;
// [Required(ErrorMessage = "Required.")]
// public string test1
// {
// get { return __test1; }
// set { SetProperty(ref _cli_test1entSampleID, value); }
// }
//}
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?