Telerik Forums
UI for WPF Forum
4 answers
231 views
I have  a problem with my application.

In my application, i put a WaterMark on a pdf document in ejecution time. then when i show the pdf document in the radpdfviewer, the radpdfviewer show the pdf document but the WaterMark is different to the original pdf document's  WaterMark.
Deyan
Telerik team
 answered on 09 Dec 2016
4 answers
151 views

 

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); }
    //    }
    //}
Stefan
Telerik team
 answered on 08 Dec 2016
1 answer
98 views

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

Nikolay Mishev
Telerik team
 answered on 08 Dec 2016
2 answers
399 views

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

Michael
Top achievements
Rank 1
 answered on 08 Dec 2016
0 answers
109 views

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

Eric
Top achievements
Rank 1
 asked on 08 Dec 2016
1 answer
87 views

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;
        }
    }
}
Dinko | Tech Support Engineer
Telerik team
 answered on 07 Dec 2016
8 answers
759 views
Hello,

I have a requirement where I need to open the Groups defined in a RadGridView programmatically. Basically the apporach I am looking for is to iterate over all the  groups though an accessor function in RadGridView. However, there does not seem to be any accessor function to get the Groups.

It is important that I get the reference to the all the GridViewGroupRow object so that I can decide which ones to open/close. If there a way to do this from the RadGridView object and what functions / properties need to be used ? If not what are the alternatives ?


Thanks,
Chait

Raja
Top achievements
Rank 1
 answered on 07 Dec 2016
2 answers
138 views

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.

Dmitry
Top achievements
Rank 1
 answered on 07 Dec 2016
0 answers
146 views

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
 ....
 >
 <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?

Mathieu
Top achievements
Rank 1
 asked on 07 Dec 2016
5 answers
259 views

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

Georgi
Telerik team
 answered on 07 Dec 2016
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
DataPager
PersistenceFramework
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?