Telerik Forums
UI for WPF Forum
1 answer
129 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
541 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
248 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
299 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
163 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
93 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
84 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
80 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
112 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
4 answers
602 views
Hi,

We have an office word template project which opens up a wpf form when the user tries to launch it. 

The WPF form has one or more telerik Richtextbox controls. When the user start typing inside the textbox they get the above error.
ie."The dispatcher process has been suspended,but messages are still being processed.".

Even though this error occurs more when user tries to type fast inside the textbox, there are cases this happened even otherwise.

There is no event in our code that gets fired on TextChanged or anything similar.

Has anyone else experienced this?  Could someone help me to resolve this?

Many thanks,

Anu
Anu
Top achievements
Rank 1
 answered on 04 Nov 2013
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?