Telerik Forums
UI for WPF Forum
1 answer
77 views
Hello,

I have a RadPropertyGrid bounded to a my custom object (MyItem.cs)
I put a DataTemplateSelector class in place to provide new templates for the object properties.

I used AutoBindBehavior inside the custom Data Templates, but the bounded object properties seems not be updated properly.


How can I attach a sample project into this thread?


Thanks
Dimitrina
Telerik team
 answered on 08 May 2014
1 answer
121 views
Hi,

I'm quite new to WPF in general and Telerik Schedule View in specific.

What I"m trying to do is group Resources. Let"s say I have tools as Resouces (ResourceType tools) and every tool has as toolgroup:

Drills
       Drill A
       Drill B
       Drill C
Hammer
       Hammer A
       Hammer B
....

Another ResourceType is the wrong approach, and the Resource itels offers no possibility to group by.

Is there any way I can Group Resources in a scheduleView?


Yana
Telerik team
 answered on 08 May 2014
3 answers
288 views
I have a custom style for RadNumericUpDown as listed below. Using the default style you can click the textbox when something else has focus and the focus will transfer to the textbox. However with my custom style this does not work. The textbox does get focus when you click either of the RepeatButtons. I tried setting Focusable to true, but that does not work..

<Style TargetType="{x:Type telerik:RadNumericUpDown}">
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate>
                <Grid Height="36">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="36"/>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="36"/>
                    </Grid.ColumnDefinitions>
                         
                    <!--1. Textbox control for text input-->
                    <TextBox x:Name="textbox" Grid.Column="1" HorizontalAlignment="Stretch" />
                    <!--2. Button control for increasing the value-->
                    <RepeatButton x:Name="increase" Style="{StaticResource BaseButtonStyle}" Grid.Column="2">
                        <Viewbox>
                            <Grid Width="20" Height="20">
                                <Path Stroke="Black" Data="M0,5 H10 M5,5 V10Z" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" />
                            </Grid>
                        </Viewbox>
                    </RepeatButton>
                    <!--3. Button control for decreasing the value-->
                    <RepeatButton x:Name="decrease" Style="{StaticResource BaseButtonStyle}" Grid.Column="0">
                        <Viewbox>
                            <Grid Width="20" Height="20">
                                <Path Stroke="Black" Data="M0,5 H10" StrokeThickness="2" Height="10" Width="10" UseLayoutRounding="True" />
                            </Grid>
                        </Viewbox>
                    </RepeatButton>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
Wouter
Top achievements
Rank 1
 answered on 08 May 2014
5 answers
262 views
I am trying to get drag and drop within a list box working.  With the following XAML, I don't see the drop indicator when attempting to drop the item below the last item, yet the drop still works...

<UserControl.Resources>
         
        <ListBoxDragReorderWpf:TemplateViewModel x:Key="TemplateViewModel"/>
         
        <DataTemplate x:Key="RadListBoxItemTemplate">
            <TextBlock Text="{Binding Name}"/>
        </DataTemplate>
         
        <Style x:Key="RadListBoxContainerStyle" TargetType="{x:Type telerik:RadListBoxItem}">
            <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
        </Style>
         
        <Style x:Key="RadListBoxStyle"
               TargetType="{x:Type telerik:RadListBox}">
            <Setter Property="ItemContainerStyle" Value="{StaticResource RadListBoxContainerStyle}"/>
            <Setter Property="ItemTemplate" Value="{StaticResource RadListBoxItemTemplate}"/>
        </Style>
         
    </UserControl.Resources>
     
    <Grid DataContext="{StaticResource TemplateViewModel}">
         
        <telerik:RadListBox ItemsSource="{Binding Pages}"
                            Style="{StaticResource RadListBoxStyle}"
                            Width="100"
                            Height="200">
            <telerik:RadListBox.DragDropBehavior>
                <telerik:ListBoxDragDropBehavior/>
            </telerik:RadListBox.DragDropBehavior>
            <telerik:RadListBox.DragVisualProvider>
                <telerik:ScreenshotDragVisualProvider />
            </telerik:RadListBox.DragVisualProvider>
            <telerik:RadListBox.DropVisualProvider>
                <telerik:LinearDropVisualProvider />
            </telerik:RadListBox.DropVisualProvider>
        </telerik:RadListBox>     
         
    </Grid>
Kalin
Telerik team
 answered on 08 May 2014
1 answer
199 views
Hello,
how I refresh a radcalendar after having added an event to a day ? I'm in an MVVM project so I add my item to the DataItems  but it doesn't appear until I close the page then reload it

Thanks
Polya
Telerik team
 answered on 07 May 2014
1 answer
473 views
Hi there,

After installing the trial I cannot add any Telerik DLL reference to my project.

The Telerik menu in VS doesn't look at all like in the screenshots at
http://www.telerik.com/help/wpf/radcontrols-for-wpf-vs-extensions-project-configuration.html


In particular there's no 'Configure Project' to support in adding references to the Telerik DLLs.

I've manually copied the DLLs to the project, added them via 'Add
Reference  > Browse' and received a generic VS error message 'Cannot
add DLL'.

Any suggestions?

Cheers,
Jan
Vesko
Telerik team
 answered on 07 May 2014
1 answer
129 views
When a column has the EditTriggers ptoperty set to CellClick the CopyingCellClipboardContent isn't raised.
Boris
Telerik team
 answered on 07 May 2014
3 answers
182 views
I have an application that is using RadWindow.Alert/Prompt extensively. My MainWindow is RadWindow.
The owner property is set to MainWindow on most of them, but when the user switches between applications with ALT + TAB for example
and returns back, the alerts are not visible as they are not truly modal and you have to alt/tab to the alert itself in order to show it.
Is there a way to correct this behavior and use the Alert/Propmpt as real modal dialogs?
Konstantina
Telerik team
 answered on 07 May 2014
1 answer
174 views
how to change the arrow image of collapse/expand to plus/minus image.
Petar Mladenov
Telerik team
 answered on 07 May 2014
3 answers
113 views
I see this example in the Silverlight online demo's.
I see it in the WPF Controls Example, but the Examples.xaml doesn't show up when I click on Code->Examples.xaml.  I looked on Git-hub and I don't see this example there to get the missing .xaml file. 

Where can I find the complete WPF example with a working project/solution (VS2010 unfortunately)?  In the WPF Controls demo its called "ScheduleView and TimeBar" in the "More ScheduleView Examples" dropdown. 

Thanks
Paul
Kalin
Telerik team
 answered on 07 May 2014
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?