Telerik Forums
UI for WPF Forum
1 answer
101 views
I am using a RadPanelBar to allow my users to select a report category, then a report in the category. Once the user clicks the report the selected event is fired and I hide the RadPanelBar and go show them the report. If they come back to the report selection, I have left the RadPanelBar exactly as they left it, with the last report they selected highlighted. Everything thing up till this point is great. However, if they want to go back to the report they just saw, and select the already selected RadPanelBar item, no Selected event is fired. I've tried other RadPanelBar events such as MouseDown, etc., nothing works. Does anyone know how to detect the reselection of an already selected item?

I'm using a HierarchicalDataTemplate to display the RadPanelBarItems and it is bound to an ObservableCollection. I can have a MouseDown event on one of the TextBoxes in the template, but then it fires before the RadPanelBar Selected event. Therefore, it's very hard to know from the template MouseDown event what is going on. Is the user reselecting an item, choosing another, etc? It seems that to make an intelligent template MouseDown event handler work correctly, you are abandoning the RadPanelBar Selected property and doing it all on your own. Is there something I'm missing here?
Petar Mladenov
Telerik team
 answered on 25 Nov 2010
1 answer
158 views
Is there a way to limit the input length? Not just the max value, but not letting the user to enter, for example, more than 5 digits + 2 decimals

Thanks, Jose
Konstantina
Telerik team
 answered on 25 Nov 2010
1 answer
239 views
Hi,
 I am trying to override the default selected style for radgridview but it still show me up with the dark orange style selection of the radgridview.

<Window x:Class="HightLighted.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <telerik:RadGridView ItemsSource="{Binding}" Background="Red" Foreground="White" AutoGenerateColumns="False" HorizontalAlignment="Left" Margin="24,36,0,0" Name="radGridView1" VerticalAlignment="Top">
            <telerik:RadGridView.RowStyle>
                <Style TargetType="{x:Type telerik:GridViewRow}">
                    <Setter Property="Background" Value="Red"/>
                    <Setter Property="Foreground" Value="White"/>
                    <Style.Triggers>
                        <Trigger Property="IsSelected" Value="True">
                            <Setter Property="Background" Value="DarkOrange"/>
                            <Setter Property="Foreground" Value="black"/>
                        </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Background" Value="LightYellow"/>
                            <Setter Property="Foreground" Value="black"/>
                        </Trigger>
                    </Style.Triggers>
                </Style>
            </telerik:RadGridView.RowStyle>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="EmployeeID" DataMemberBinding="{Binding EmployeeID}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>
Vanya Pavlova
Telerik team
 answered on 25 Nov 2010
5 answers
98 views
Hello,

I can't retrieve the default(Edit a copy..) styles of TreeListViewRow in Expression Blend(3,4).
Telerik version: v2.0.50727

Andrei.
Vanya Pavlova
Telerik team
 answered on 25 Nov 2010
5 answers
295 views
Hello!

I would like to style a GridViewCheckBoxColumn triggered if the CheckBox is readonly or not. The differense between true and false is to small.

<telerik:GridViewCheckBoxColumn Header="Klart"
                   DataMemberBinding="{Binding ChKlar, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                   IsReadOnlyBinding="{Binding Uppdaterbar, Mode=OneWay}"
                   EditTriggers="CellClick"
                   AutoSelectOnEdit="True" />

Any Ideas?

Best regards / Anna
Vanya Pavlova
Telerik team
 answered on 25 Nov 2010
1 answer
94 views
Hi,
 Can you let me know how can we change the default style for radgridview in wpf.Like how can i apply custom alternate row color style and selected row style.

Thanks
Vanya Pavlova
Telerik team
 answered on 25 Nov 2010
3 answers
105 views
Hi!

I am new to WPF and I am trying to add a pinnable tooltip to my project.  Unfortunately I don't know how to do this.  If you could provide guidance or point me to some examples that would be great.  I am using visual studio 2010.

Thanks,

Sonia
Ivan Ivanov
Telerik team
 answered on 25 Nov 2010
1 answer
70 views

Hi
I have a problem.just like below, I want to get the value of the TextBox named TitleEx. But I don't known how to,Can you help me? Thanks very much;

<telerik:RadGridView.RowDetailsTemplate>
     <DataTemplate>
         <Grid>
             <TextBox Height="23" HorizontalAlignment="Right" Margin="0,42,382,0" Name="TitleEx" VerticalAlignment="Top" Width="181" Text="{Binding Title}" />
         </Grid>
     </DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
Rossen Hristov
Telerik team
 answered on 25 Nov 2010
5 answers
160 views
I have a RadComboBox in a popup and when I click the drop down button, it closes the popup. This does not happen with the standard ComboBox. Is there a way to prevent this?
Konstantina
Telerik team
 answered on 25 Nov 2010
2 answers
91 views
I need to create a scatter chart where I have to fade off points over time. For that I need to change the point color of a series dynamically in the code. How could I do that ?
Velin
Telerik team
 answered on 25 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?