Telerik Forums
UI for WPF Forum
3 answers
174 views
Hi,

I have a RadRibbonView with RadRibbonTab inside it to display Module names.
The itemsource of RadRibbonView is set with my modules and these modules are converted to tabs at runtime using a converter to the ItemSource.
From the converter, I set the first tab as IsSelected= true and it set correctly and higlights the specific tab.
But the details/contents of that tab is not displayed.
Ie: OnSelectionTabChanged event doesn't fire in this case.
Where when I click a different tab, it works fine. but when i click the first tab again, it doesn't work.
When I checked using WPF inspector, i can see that IsSelected property of the first tab is always true even when i select a different tab.
any help?

am using 2013 Q1.
The same code was working perfectly whern i used rabribbontab. Now am converting this to radribbonview ince ribbontab doesnt exists in the new release.

Cheers






Martin Ivanov
Telerik team
 answered on 23 Jul 2019
2 answers
185 views
How can I display only the spellchecker and the clipboard functions for a RichTextBox in the ConextMenu? All functions to format the text should be hidden.
Harald
Top achievements
Rank 2
 answered on 22 Jul 2019
3 answers
229 views

Hello,

what is the purpose of setting the SelectionBoxesVisibility property to Collapsed ?  When I do this, the MultiClumnComboBox does not show any value, as if no item is selected.

Regards,
Hans

Dimitar Dinev
Telerik team
 answered on 22 Jul 2019
6 answers
189 views

Hi, i have some problem. 

The image editor created by wpf works normally. However, if you link to other programs, you will not see all the components. (Please refer to attached file)

I don't know why act like that. I look forward to your valuable feedback.

Thanks

선정
Top achievements
Rank 1
 answered on 22 Jul 2019
6 answers
448 views
I want to ad a close button to 1 out of 2 RadTabItems. The documentation ads the button to all RadTabItems. How can I do this?
My xaml code is as follows (and I want the close button on the second RadTabItem, never the first one):
<telerik:RadTabControl> 
<telerik:RadTabItem Header="{Binding ElementName=operationContentControl, Path=Content.DataContext.Header}" IsSelected="{Binding IsOperationSelected, Mode=TwoWay}"
<ContentControl x:Name="operationContentControl" cal:RegionManager.RegionName="{x:Static infrastructure:RegionNames.MainRegion}" /></telerik:RadTabItem> 
<telerik:RadTabItem Header="{Binding ElementName=protocolContentControl, Path=Content.DataContext.Header}" IsSelected="{Binding IsProtocolSelected, Mode=TwoWay}" Visibility="{Binding IsProtocolVisible, Converter={StaticResource boolToVisibilityConverter}}"
<ContentControl x:Name="protocolContentControl" cal:RegionManager.RegionName="{x:Static infrastructure:RegionNames.ProtocolRegion}" /><telerik:RadTabItem> 
</telerik:RadTabControl> 
 

Regards,
Roy
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 20 Jul 2019
0 answers
144 views

Hir sir,

I am new to wpf.is there any option to set window as mdi and open other windows in it. in winforms we will set ismdicontainer=true;

 

can you give an exmple?

Vidhya
Top achievements
Rank 1
 asked on 19 Jul 2019
2 answers
147 views

How can I assign in the code behind a German Dictionary to a RichTextBox in the CellEditTemplate?

01.<telerik:GridViewDataColumn.CellEditTemplate>
02.  <DataTemplate>
03.    <Grid>
04.      <telerik:RadRichTextBox x:Name="ProtocolRowTextBox"
05.                              IsSpellCheckingEnabled="True"
06.                              BorderThickness="0" 
07.                              Height="Auto"
08.                              Margin="0"
09.                              DocumentInheritsDefaultStyleSettings="True"/>
10.      <telerik:TxtDataProvider RichTextBox="{Binding ElementName=ProtocolRowText}" 
11.                               Text="{Binding Path=Text, Mode=TwoWay}"/>
12.    </Grid>
13.  </DataTemplate>
14.</telerik:GridViewDataColumn.CellEditTemplate>

 

I can't find the RichTextBox in C# by name and assign it to the dictionary , such as:

1.ProtocolRowTextBox.SpellChecker = _localViewModel.DocumentSpellChecker;

 

 

 

Harald
Top achievements
Rank 2
 answered on 17 Jul 2019
2 answers
194 views

Hi,

I have a project in which I am trying to support merged cells for all columns. I notice however that a CheckBox Column doesn't fully support this feature inasmuch as a GridView always displays the values True or False in text form across merged cells (or in my case "1" or "0").

I thought this was an oversight by me but I noticed it in the documentation here where the IsMarried column is shown.

 

Is this the intended design or does Telerik plan to change this? Personally I would prefer the merged cell also to display a CheckBox.

 

Many thanks.

Miles Young

 

 

Miles
Top achievements
Rank 1
 answered on 17 Jul 2019
1 answer
107 views

I'm having an issue where I sometimes get two groups with a key of empty string when I add a grouping to my data.

It's really important that these group keys be unique because I'm doing some fairly complicated grid navigation in hierarchical grids and I rely on that key being unique so I can programatically make decisions about where to move focus.

Is there a grouping maximum or something that I'm missing, or is this a Telerik bug?

Wesley
Top achievements
Rank 1
 answered on 16 Jul 2019
4 answers
175 views

Hi,

I have following style applied for all my RadMultiColumnComboBox controls (in the app.xaml):

<!--Telerik default DefaultTelerikRadMultiColumnComboBoxStyle-->
<Style x:Key="DefaultTelerikRadMultiColumnComboBoxStyle" TargetType="telerik:RadMultiColumnComboBox" BasedOn="{StaticResource RadMultiColumnComboBoxStyle}">
    <!--<Setter Property="SelectionMode" Value="Single"/>-->
    <Setter Property="AutoCompleteMode" Value="Search"/>
    <Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/>
    <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}"/>
    <Setter Property="FontWeight" Value="{StaticResource DefaultFontWeight}"/>
    <Setter Property="MinHeight" Value="{StaticResource DefaultMinimumHeight}"/>
    <Setter Property="KeepDropDownOpen" Value="False"/>
    <Setter Property="CloseDropDownAfterSelectionInput" Value="True"/>
    <Setter Property="SelectionBoxesVisibility" Value="Visible"/>
 
    <Setter Property="Validation.ErrorTemplate" Value="{StaticResource ErrorTemplate}"/>
 
    <Style.Triggers>
        <Trigger Property="IsEnabled" Value="True">
            <Setter Property="Background" Value="{StaticResource DefaultTextBoxBackgroundColor}"/>
        </Trigger>
        <Trigger Property="IsEnabled" Value="False">
            <Setter Property="Background" Value="Red"/>
        </Trigger>
        <Trigger Property="IsFocused"  Value="True">
            <Setter Property="Background"  Value="{StaticResource DefaultTextBoxIsFocusedBackgroundColor}"/>
        </Trigger>
    </Style.Triggers>
</Style>
<Style TargetType="{x:Type telerik:RadMultiColumnComboBox}" BasedOn="{StaticResource DefaultTelerikRadMultiColumnComboBoxStyle}"/>

 

With this style applied, I get this error in my XAML files (see attached file): The element "[RadMultiColumnComboBox]" could not be displayed because of a problem with System.Windows.StaticResourceExtension: CollectionView must have value. Parameter name: collectionView.

The error is provoced by the setter of the AutoCompleteMode.  The error disappears when this setter is deleted.

Setting the AutoCompleteMode directly on a RadMultiColumnComboBox (with the style applied) does not cause any problems.

Any ideas ??

Regards,
Hans

 

 

 

Martin Ivanov
Telerik team
 answered on 16 Jul 2019
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?