Telerik Forums
UI for WPF Forum
6 answers
186 views
Hi, I use RadRibbonWindow and when I hover on the Quick Access Tool Bar buttons, screen tips appear in a far lower position as in the image.
How can I fix this?
Efi
Top achievements
Rank 1
 answered on 07 Jun 2017
2 answers
100 views

The check-spelling-as-you-type logic of RichTextBox treats multiple words separated by a non-space character (e.g., a comma or slash) as a single word. For example, me/myself gets underlined as shown on the attached picture (or here). Also note how a punctuation mark (e.g., a period) is included and underlined as a part of the word, e.g. for miiispelled. on the same picture.

I've investigated this a bit and it comes down to the fact that both "me/myself" and "miiispelled." are treated with a single SpanLayoutBox, which I believe is an atomic unit for underlining. Please correct me if I'm wrong.

Is this a bug or a "feature"? Is there any workarounds to make RichTextBox to interpret (and spell-check) such sequences of text as separate SpanLayoutBox objects?

Thank you.

Boby
Telerik team
 answered on 07 Jun 2017
2 answers
133 views

My diagram has a mode in which nodes can be selected, but cannot be deleted. The deletion request is denied with a user message explaining what happened. Because I'm using a MVVM setup, I'm overriding RemoveItem in my GraphSource like so:

public override bool RemoveItem(DisplayNode node)
{
    if (m_MainVM.NoDeleteAllowed)
        return false;
 
    return base.RemoveItem(node);  
}

That works as expected, BUT: any connections to/from the node that is not actually getting deleted have already been updated with null references when I reach this part of the code. The Source or Target property of those RadDiagramConnections has been set to null where the node was referenced before. Obviously that's not what I want since the node is not actually getting deleted.

Where do I handle this behavior and prevent it? The RadDiagram events don't seem to catch this case. I could reconstruct the RadDiagramConnection's Source or Targets, I guess. But that seems like a hack.

Matthias
Top achievements
Rank 1
 answered on 07 Jun 2017
8 answers
131 views

I've been using Telerik GridView for a while now, but in the above version I've started to have some problems with AggregateFunctions.

I have a Grid with a Sum function, but when I change it's data source, the sum value is not updated with the new values. The strange part is that, if I invalidated the column with the sum (scrolling it out of the screen, for example), then the value is updated.

Am I doing something wrong? Has anyone else experienced this behavior?

Stefan
Telerik team
 answered on 07 Jun 2017
2 answers
140 views

Hello Team,

 

We are migrating our application from Silverlight to WPF. We are doing code sharing.

Actually for one scenario, In Data-grid one column we filling data with Auto Complete-box (or) RadcomboBox.

In Silverlight it's working fine. but the same style, When i use in WPF, I am getting some problem. 

1. Navigation through up, down , left and Right  key is not working properly. (its not navigating, we have to press escape button, and then its moving.)

2. When I focus the particular cell which is having rad combo box style. its coming  as grey color and text not visible.

but the same style is working fine in silverlight.

=====================

this is 2nd scenario.

 

we thought, some problem with style and we applied telerik WPF style of RadcomboBox. then Silverlight is not working properly.

 

we are getting confused, Please help us with common style which will work for both.

Thanks in advance.

  

Martin
Telerik team
 answered on 07 Jun 2017
15 answers
432 views

The attached files show what I see when I run the SDK Samples Browser and choose the OSM or Bing provider examples. Basically the map tiles appear in the wrong places and so you get a mixed-up "jigsaw puzzle" effect. This doesn't happen at the initial zoomed-out level, but happens immediately when I change the zoom. It also happens as I scroll around.

However, I only see this when running inside our corporate network! I don't see the problem when running the same SDK sample on my home network. The same is true for several of my colleagues.

Our IT manager says this problem must be due to a bug in Telerik. He also reports that he sees the problem on his home network and he produced a similar screenshot.

How can I go about troubleshooting this issue? What could be causing the map tiles to get mixed up?

Jason D
Top achievements
Rank 1
Veteran
 answered on 06 Jun 2017
2 answers
119 views

After referencing the Office 2013 theme  (Binaries.NoXaml) and then the first step was I added the App.xaml merged resources shown below. This breaks the build and gives the attached Break Mode error in System Presentation. Am I missing something? 

I tried copying the files out but the files showed a lot of errors. So I am guessing we need to copy a lot more files than the required files. 

So another question would be to find out how this is deployed to customers. 

What files are required apart from the files?

<Application x:Class=" MyApp.App"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="Views/MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml" />
                <ResourceDictionary
                    Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml" />
                <ResourceDictionary
                    Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Input.xaml" />
                <ResourceDictionary
                    Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
                <ResourceDictionary
                    Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.RibbonView.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
Martin
Telerik team
 answered on 06 Jun 2017
2 answers
219 views

Hi all,

i have a RadCartesianChart of BarSeries and have a problem with the value labels, the highest label is clipped on the edge of chart. I can't set ClipToPlotArea to false because i need clip in horizontal axis, my question is, i can manipulate the distance between value label and the bar top? If i can do it, how i do it. 

Thanks.

 

 

Jones
Top achievements
Rank 1
 answered on 06 Jun 2017
1 answer
393 views

XAML editor complains “Object does not match target type” while using the RibbonView. I have the latest updated VS2017. 

I have tried using the threads on StackOverflow.

https://stackoverflow.com/questions/14591781/object-does-not-match-target-type

https://stackoverflow.com/questions/31815177/design-mode-error-object-does-not-match-target-type-for-loaded-page-resource

https://stackoverflow.com/questions/31726759/xaml-editor-complains-object-does-not-match-target-type-for-sharedresourcedict

I was not able to resolve my error using them links. The source compiles and runs but the editor complains and it is irritating and obstructing actual errors. 

<telerik:RadRibbonView Grid.Row="0" x:Name="RibbonView" ApplicationName="MyApplication" Title="{x:Static properties:Resources.RibbonViewTitle}"
                               ApplicationButtonImageSource="../Images/MyApp.png"
                               MinimizeButtonVisibility="Visible">
            <!--Need to add HelpRequested Event Handler using MVVM-->
            <telerik:RadRibbonView.TabStripAdditionalContent>
                <StackPanel Orientation="Horizontal">
                    <TextBlock x:Name="Vers" VerticalAlignment="Center" Margin="2,0,5,0"></TextBlock>
                </StackPanel>
            </telerik:RadRibbonView.TabStripAdditionalContent>
            <telerik:RadRibbonView.QuickAccessToolBar>
                <telerik:QuickAccessToolBar>
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuSave}" SmallImage="../Images/Save_sm.png"
                                             Size="Small" telerik:KeyTipService.AccessText="1" Command="{Binding Path=SaveWorkflowCommand}" />
                    <telerik:RadRibbonButton Text="Undo" SmallImage="../Images/Undo_sm.png"
                                             Size="Small" telerik:KeyTipService.AccessText="2" Command="ApplicationCommands.Undo" />
                    <telerik:RadRibbonButton Text="Redo" SmallImage="../Images/Redo_sm.png"
                                             Size="Small" telerik:KeyTipService.AccessText="3" Command="ApplicationCommands.Redo" />
                </telerik:QuickAccessToolBar>
            </telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:RadRibbonView.ApplicationMenu>
                <telerik:ApplicationMenu>
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuNewWorkflow}" LargeImage="../Images/New_lg.png"
                                             Command="{Binding Path=NewWorkflowCommand}" />
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuOpen}" LargeImage="../Images/Open_lg.png"
                                             Command="{Binding Path=OpenWorkflowCommand}"/>
                    <telerik:Separator />
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuSave}" LargeImage="../Images/Save_lg.png"
                                             Command="{Binding Path=SaveWorkflowCommand}"/>
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuSaveAs}" LargeImage="../Images/SaveAs_lg.png"
                                             Command="{Binding Path=SaveAsWorkflowCommand}"/>
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.FileMenuSaveAll}" LargeImage="../Images/SaveAs_lg.png"
                                             Command="{Binding Path=SaveAllWorkflowsCommand}"/>
                    <telerik:Separator />
                    <telerik:RadRibbonButton Text="Import XML" LargeImage="../Images/Import_lg.png"/>
                    <telerik:RadRibbonButton Text="{x:Static properties:Resources.DebugMenuStartWithoutDebugging}" LargeImage="../Images/Start_lg.png"
                                             Command="{Binding Path=StartWithoutDebuggingCommand}"/>
                    <telerik:Separator />
                    <telerik:RadRibbonButton Text="Copy Variables" LargeImage="../Images/Variables_lg.png"/>
                    <telerik:Separator />
                    <telerik:RadRibbonButton Text="Manage Extensions" LargeImage="../Images/Import_lg.png"
                                             />
                    <telerik:Separator />
                    <telerik:RadRibbonButton Text="Encrypt Value" LargeImage="../Images/encrypt_lg.png"
                                             />
                    <telerik:Separator />
                    <telerik:ApplicationMenu.FooterContent>
                        <StackPanel Height="25"
                                    Orientation="Horizontal">
                            <telerik:RadButton Width="86"
                                               Height="22"
                                               Margin="3 0 2 0">
                                <telerik:RadButton.Content>
                                    <StackPanel Orientation="Horizontal"
                                                VerticalAlignment="Center"
                                                Margin="3 0  5 0">
                                        <Image Width="16"
                                               Height="16" Source="../Images/Exit_sm.png" />
                                        <TextBlock Margin="4 0 0 0"
                                                   VerticalAlignment="Center"
                                                   Text="Exit" />
                                    </StackPanel>
                                </telerik:RadButton.Content>
                            </telerik:RadButton>
                        </StackPanel>
                    </telerik:ApplicationMenu.FooterContent>
                </telerik:ApplicationMenu>
            </telerik:RadRibbonView.ApplicationMenu>
            <telerik:RadRibbonView.Items>
                <telerik:RadRibbonTab Header="{x:Static properties:Resources.HomeMenu}">
                    <telerik:RadRibbonGroup Header="{x:Static properties:Resources.FileMenu}" telerik:KeyTipService.AltAccessText="F">
                        <telerik:RadRibbonButton x:Name="RibGrpNew" LargeImage="../Images/New_lg.png" Size="Large"
                                                 Text="{x:Static properties:Resources.FileMenuNewWorkflow}" telerik:KeyTipService.AccessText="N" Command="{Binding Path=NewWorkflowCommand}" ToolTip="Ctrl+N" />
                        <telerik:RadCollapsiblePanel>
                            <telerik:RadRibbonButton x:Name="RibGrpOpen"
                                                     LargeImage="../Images/Open_lg.png" Size="Large"
                                                     Text="{x:Static properties:Resources.FileMenuOpen}" telerik:KeyTipService.AccessText="O" Command="{Binding Path=OpenWorkflowCommand}" />
                        </telerik:RadCollapsiblePanel>
                        <StackPanel>
                            <telerik:RadRibbonButton x:Name="RibGrpSave"
                                                     SmallImage="../Images/Save_lg.png" Size="Medium"
                                                     Text="{x:Static properties:Resources.FileMenuSave}" telerik:KeyTipService.AccessText="S" Command="{Binding Path=SaveWorkflowCommand}" />
                            <telerik:RadRibbonButton x:Name="RibGrpSaveAs"
                                                     SmallImage="../Images/SaveAs_lg.png" Size="Medium"
                                                     Text="{x:Static properties:Resources.FileMenuSaveAs}" telerik:KeyTipService.AccessText="SA" Command="{Binding Path=SaveAsWorkflowCommand}" />
                        </StackPanel>
                    </telerik:RadRibbonGroup>
                    <telerik:RadRibbonGroup x:Name="RibGrpExec" Header="{x:Static properties:Resources.RibGrpExecHeader}" telerik:KeyTipService.AltAccessText="E">
                        <telerik:RadRibbonButton x:Name="RibGrpStart" LargeImage="../Images/Start_lg.png" Size="Large"
                                                 Text="{x:Static properties:Resources.DebugMenuStartWithoutDebugging}" Tag="0" telerik:KeyTipService.AccessText="ST" Command="{Binding Path=StartWithoutDebuggingCommand}">
                        </telerik:RadRibbonButton>
                        <telerik:RadRibbonButton x:Name="RibGrpStartWithVariable" Tag="1" LargeImage="../Images/StartVar_lg.png" Size="Large"
                                                 Text="Start with variable" telerik:KeyTipService.AccessText="ST" Command="{Binding Path=StartWithoutDebuggingCommand}">
                        </telerik:RadRibbonButton>
                        <telerik:RadCollapsiblePanel>
                            <telerik:RadRibbonButton x:Name="RibGrpStop"
                                                     LargeImage="../Images/Stop_lg.png" Size="Large"
                                                     Text="{x:Static properties:Resources.DebugMenuAbort}" Command="{Binding Path=AbortCommand}" ToolTip="F5" />
                        </telerik:RadCollapsiblePanel>
                        <StackPanel>
                            <telerik:RadRibbonButton x:Name="RunDebug"
                                                     SmallImage="../Images/Debug_sm.png" Size="Medium"
                                                     Text="{x:Static properties:Resources.DebugMenuStartDebugging}" telerik:KeyTipService.AccessText="DG" Command="{Binding Path=StartWithDebuggingCommand}" />
                            <telerik:RadRibbonButton x:Name="RunVerbose"
                                                     SmallImage="../Images/Debug_sm.png" Size="Medium"
                                                     Text="Verbose_Logging" telerik:KeyTipService.AccessText="DG"/>
                        </StackPanel>
                    </telerik:RadRibbonGroup>
                </telerik:RadRibbonTab>
                <telerik:RadRibbonTab Header="{x:Static properties:Resources.ViewMenu}" />
                <telerik:RadRibbonTab Header="{x:Static properties:Resources.DebugMenu}" />
                <telerik:RadRibbonTab Header="{x:Static properties:Resources.HelpMenu}" />
            </telerik:RadRibbonView.Items>
        </telerik:RadRibbonView>

Any help or suggestion is appreciated. 

 

 

 

 

Martin
Telerik team
 answered on 06 Jun 2017
2 answers
157 views
I am trying to add these pages to the main radwizard element in my window. When I try to call radWizard.WizardPages.Add (wizardpage) at runtime, radWizard is null! What event can I subscribe to when the radWizard element is instantiated?
live cooking demonstration
Top achievements
Rank 1
 answered on 06 Jun 2017
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?