Telerik Forums
UI for WPF Forum
1 answer
492 views

Hi,

I am looking for a working sample of using rad expander and grid splitter

a grid has several  columns, the right most can be resize and it contains horizontal  expander

 

Thanks in advance

 

Tomer

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Oct 2015
1 answer
116 views

Hello,

 I created multiple y axis and line serieses dynamically, but the panzoombar for y axis disappear.

How can I show the panzoombar for each y axis?

Is it possible to hide the panzoombar automatically if there is no zoom, and show the panzoombar if there is zoom.

 thanks

Martin Ivanov
Telerik team
 answered on 28 Oct 2015
3 answers
1.7K+ views
Hi,
I have created a "RadControls WPF application" project ("A") and added a class-library project ("B") to it. The main window of project A contains only a userControl from project B. Project A has a reference to project B.
This project B contains some Telerik components and has references to the required assemblies.

Building the solution goes well, but when I run it, I get a file-not-found exception for the referenced Telerik assemblies. Which is correct, coz the telerik dll's aren't located in the output folder of project A, only in the output folder of project B!

I have set the "copy local" setting of the effected references explicitly to True, but with no success. I know 2 options to solve this, but I ain't sure if this is the correct way to solve my problem, since they both look a bit ugly to me:
1. Include all, in other projects used, references to the start up project as well.
2. Set the output folders of all projects to the same folder.

Or is there a better solution? What is the best way to solve this?

Regards,
Niraj
Top achievements
Rank 1
 answered on 27 Oct 2015
4 answers
190 views
Dear all,
using the RadWizardComponent i have some trouble to manage the AllowFinish property.

In my ViewModel i have a Boolean property named

public bool CanEndWizard

and on the last page i have done a regular binding as below but it doesn't work.

<!-- Last Page -->
<telerik:CompletionWizardPage
    Title="Export Model"
    x:Name="Export"
    AllowFinish="{Binding CanEndWizard}"
    HeaderTemplate="{StaticResource HeaderTemplate}"
    ContentTemplate="{StaticResource Page4ExportModelTemplate}"
    SideHeaderTemplate="{StaticResource SidebarStatusTemplate}"
    IsSideHeaderVisible="False"
    ButtonsVisibilityMode="Previous,Finish,Cancel" />

I have also tried to do the same binding on Previous Button and that binding works perfecly.

I have tried to set manually on Xaml file 

AllowFinish="False"

and doesn't work too.

I'm doing something wrong ? How can I manage properly the Enabled behaviour of that button ?
jen
Top achievements
Rank 1
 answered on 27 Oct 2015
1 answer
216 views
I have a Slider control bound (TwoWay) to the Zoom.Width property of a RadCartesianChart control.  When I zoom in and out with the scrollwheel on my mouse, the Slider automatically changes (as it should).  But when I try to use the slider to zoom thechart in and out, nothing happens.  The slider won't move.  Is there something I am missing?

 

<Slider Name="Slider"
    Grid.Column="0"
    Margin="2"
    Orientation="Vertical"
    Minimum="1"
    Maximum="100"
    Value="{Binding ElementName=Chart, Path=Zoom.Width, Mode=TwoWay}"/>
 
<telerik:RadCartesianChart Name="Chart"
    Grid.Column="1"
    Palette="{Binding ChartPalette}"
    HorizontalZoomRangeStart="{Binding HorizontalZoomRangeStart, Mode=TwoWay}"
    HorizontalZoomRangeEnd="{Binding HorizontalZoomRangeEnd, Mode=TwoWay}">
 
    ...
 
</telerik:RadCartesianChart>
Peshito
Telerik team
 answered on 27 Oct 2015
3 answers
436 views
Hello,

How to had the functionality of disable ​Lost Focus ​selected state in RadTreeView ?

In the RadGridView, there is a property EnableLostFocusSelectedState to do that. Why not in RadTreeView ?

Best regards,
Geoffrey
Martin Ivanov
Telerik team
 answered on 27 Oct 2015
2 answers
310 views

Hello,

i am using RadDesktopAlert in my WPF Application on a dual monitor setup. 

I define the alert desktop position by setting the AlertScreenPosition.TopRight parameter.

The alert shows fine however, if my application is on the left monitor because of its StartUpLocation, the alert still shows on my main monitor.

I can't find a property to tell the alert to show on the monitor which contains the mouse. I hope this is possible and you can help me.

Regards,

Florian Meißner

 

Florian
Top achievements
Rank 2
 answered on 27 Oct 2015
1 answer
1.7K+ views

Hey,

 

I'm occuring something odd. I try to apply a style to a Button. It works fine with just the Button. But the IsMouseOver Trigger doesn't work.

I'm using following code:

<Style x:Key="hyperlinkStyle" TargetType="telerik:RadButton">
            <Style.Setters>
                <Setter Property="Background" Value="#25A0DA"></Setter>
                <Setter Property="Foreground" Value="White"></Setter>
                <Setter Property="FontFamily" Value="Segoe UI"></Setter>
                <Setter Property="Margin" Value="5,5,5,5"></Setter>
                <Setter Property="Padding" Value="5,5,5,5"></Setter>
                <Setter Property="FontSize" Value="12"></Setter>
                <Setter Property="BorderThickness" Value="1"></Setter>
            </Style.Setters>
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="true">
                    <Setter Property="Background" Value="Black"></Setter>
                    <Setter Property="Foreground" Value="White"></Setter>
                </Trigger>
            </Style.Triggers>
        </Style>

 

Hope someone can explain why it doesn't work

 

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Oct 2015
1 answer
164 views
Hi guys,

We are having some trouble with the RadGridView and its ExtentHeight property.
In our application, a RadGridView is displayed and can contain from 1 to 5000 rows.
Some of these rows have a specific state which affects the row style:
- Normal state => row background must be transparent
- Highlighted state => row background must be Red

To help user to identify quickly the highlighted rows, we are showing a "thumbnail view" left to the grid view.
This "Thumbnail view" shows a white vertical bar which contains Red rectangle for each highlighted rows. Over this vertical bar, a "Zoom Box" rectangle is displayed to indicate which part of the table is currently visible in the viewport (see image).

We are trying to synchronize the position of the "Zoom Box" with the Vertical Offset of the RadGridView. Right not it is more or less ok when using the mouse wheel (either in the RadGridView or in the "Thumbnail View").
But it's not working properly in the following case (Zoom Box is out of sync):
- Dragging TOO FAST the scrollbar position indicator (if the RadGridView was completely scrolled using the mouse wheel before, then it works)
- Clicking somewhere in the "Thumbnail View"

After analysis we think that this problem comes from the ExtentHeight property of the RadGridView.
As we understand at the beginning, the ExtentHeight property is estimated using the "real" height of each visible rows and the default height for all other rows.
Then when the RadGridView is scrolled, the ExtentHeight property is adjusted with the "real" height of each new visible row.

Is there a way to override the ExtentHeight of the ScrollViewer of the RadGridView ?
Or another way to accomplish this synchronization?

I have added a sample project.

Thanks for your assistance,
Kind regards,
Benoît
Stefan
Telerik team
 answered on 27 Oct 2015
1 answer
122 views

I try to install Telerik UI for WPF Demos but it fails.

I am on Windows 10 with Visual Studio 2015.

In attachment you have a screenshot with the detail.

Nikolay
Telerik team
 answered on 27 Oct 2015
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?