Telerik Forums
UI for WPF Forum
3 answers
162 views
Hello there,

is it posssible to hide the complete GridView part of RadGanttView, therefore only show the timeline part?
Marcus
Top achievements
Rank 1
 answered on 05 Nov 2013
1 answer
117 views
I have a test app that uses the new Office2013 theme. I can successfully change the colours of theme in code, by setting the various Palette member. For instance 

  Office2013Palette
.Palette.AccentMainColor = ...

This all works, EXCEPT for 
EffectAccentHighColor. Not matter what value I use, the colour remains as the default blue colour. Any help on this?
Vanya Pavlova
Telerik team
 answered on 05 Nov 2013
8 answers
472 views
Hi
I have defined a user control that I display in a CellEditTemplate. I get the error "Specified element is already the logical child of another element... " in the second attempt to edit the cell. It displays my usercontrol successfully on the first edit attempt. My usercontrol is exposed via a viewmodel exposed as a property of my datacontext's viewmodel.

Here's an extract of the XAML.
<telerik:GridViewDataColumn.CellEditTemplate>
    <DataTemplate>
        <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Top">
            <telerik:RadDropDownButton DockPanel.Dock="Top" HorizontalAlignment="Stretch" Height="22"
                                       Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.AcctVm.SelectedAccount.Account_Code,Mode=TwoWay}"
                                       VerticalAlignment="Center" HorizontalContentAlignment="Left">
                <telerik:RadDropDownButton.DropDownContent>
                        <ContentControl Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=DataContext.AcctVm.View}"
                                        VerticalAlignment="Stretch" Height="300" />
                </telerik:RadDropDownButton.DropDownContent>
            </telerik:RadDropDownButton>
        </DockPanel>
    </DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>

Is there a problem with this XAML or do you need more information?
Thanks
Craig
Yoan
Telerik team
 answered on 04 Nov 2013
1 answer
196 views
Hello,
when a GridView has no items to display, the funnels for the filters are not displayed, excepted for custom filters.
This poses problem for some cases. In my case, I have a custom filter that descends from FilteringControl. In the Prepare method, I call the inherited Prepare method and it raises an InvalidOperationException exception, with the following text: A column without EffectiveFilteringType cannot supply AvailableFilterOperators.
Patrick
Vera
Telerik team
 answered on 04 Nov 2013
4 answers
265 views
Dear all,
by default, the SchedulerView initializes the VisibleRange accordingly to the current date/ time.
Is there any way to set the visible time range in code behind (the VisibleRange, as well as VisibleRange.Start and VisibleRange.End properties are read-only).

Thanks 
Meik
Kalin
Telerik team
 answered on 04 Nov 2013
1 answer
113 views
Hi,

i use the radschduleview like this:
<scheduleView:RadScheduleView
           AppointmentsSource="{Binding Appointments}" Margin="10"
           ResourceTypesSource="{Binding ResourceTypes}"
           telerik:StyleManager.Theme="Windows7"
           TimeMarkersSource="{Binding TimeMarkers}"
           CategoriesSource="{Binding Categories}"
           x:Name="MyScheduleView"
           GroupHeaderContentTemplateSelector="{StaticResource   GroupHeaderContentTemplateSelector}"
           FirstDayOfWeek="Monday"
           FirstVisibleTime="6:0:0"
           ActiveViewDefinitionIndex="1"                                               
           DialogClosing="MyScheduleView_DialogClosing"
           SpecialSlotsSource="{Binding SpecialSlots}"                                                  
           SpecialSlotStyleSelector="{StaticResource SpecialSlotStyleSelector}"
           ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}"
           Drop="MyScheduleView_Drop">

I want to fire a function to save the new date of the appointment in a database. But how to i fire this function on Drop?

Thanks
Regards

Rene
Kalin
Telerik team
 answered on 04 Nov 2013
1 answer
79 views
Hello
If you place your cursor at the beginning of the field and hold down the space bar your text would appear spaced out and the font changes.

Steps:
  • Place your cusor at the beginning of the name field
  • Hold down and press the space bar
  • Notice text has space between them and the font text changes
  • See attached screenshot


<Window x:Class="IndexOutOfRangeExceptionMaskedNumeric.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:a="clr-namespace:IndexOutOfRangeExceptionMaskedNumeric"
        xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
        xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        

        <Style x:Key="RadMaskedInputBaseStyle" TargetType="telerikInput:RadMaskedInputBase">
           
            <Setter Property="TextMode" Value="PlainText"/>
            <Setter Property="IsClearButtonVisible" Value="False"/>
            <Setter Property="Placeholder" Value="_"/>
            <Setter Property="Mask" Value=""/>
            <Setter Property="UpdateValueEvent" Value="PropertyChanged"/>
           
        </Style>
       
    </Window.Resources>
    <StackPanel>
        <telerikInput:RadMaskedTextInput x:Name="edtTextBoxControl" Style="{StaticResource RadMaskedInputBaseStyle}"
                                      HorizontalAlignment="Left"
 VerticalAlignment="Center"
                                      Value="{Binding Value,UpdateSourceTrigger=PropertyChanged}"
 
/>
        <TextBox Text="{Binding Value}"/>
    </StackPanel>
</Window>


Thank you
Petar Mladenov
Telerik team
 answered on 04 Nov 2013
1 answer
52 views
Hello,
The column resizing can be made at the right of the column for all themes, excepted the Office2013 theme, where it can also be made to the left of the funnel.
Patrick
Vera
Telerik team
 answered on 04 Nov 2013
1 answer
42 views
Hello,
when there are group panel items in the group panel, the close button is visible as soon as the mouse cursor is over the button for all themes, excepted the Office2013, where we must go to the right of the button to see it. This is confusing for users, because they don't know how to stop grouping, excepted when they move the mouse cursor to the small, right, place.
Patrick
Vera
Telerik team
 answered on 04 Nov 2013
2 answers
94 views
Hi,
is it possible to add a vertical gridline annotation when the user clicks in the plot area?

Regards Markus
Klemens
Top achievements
Rank 1
 answered on 04 Nov 2013
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?