Telerik Forums
UI for WPF Forum
1 answer
658 views

Hello,

I'm using a styling template to edit the appearance of a combobox.  I want to remove the blue highlighting that occurs when an item is selected.  What property do I need to look for to change that?  Thanks.

Vicky
Telerik team
 answered on 01 Feb 2019
3 answers
121 views

     Hello!

https://www.telerik.com/forums/radchat-messages-not-updated-when-datasource-changed

https://www.telerik.com/forums/update-chat-messages-on-datasource-change

https://feedback.telerik.com/wpf/1357293-chat-setting-a-new-instance-for-the-datasource-does-not-clear-the-previous-messages

 

In last link:

"*** The fix for this issue will be available with the next LIB (version 2018.3.1210) expected on Monday, December 10."

 

Where i can find this build?

 

PS: we use 2018 and do NOT want to migrate to 2019.

Martin Ivanov
Telerik team
 answered on 01 Feb 2019
1 answer
170 views

When I create new RadPanes and dock them to Left/Right/Top/Bottom the header isn't always set. I've attached a really simple project in which the issue can be reproduced.

1. Press "Add Main"

2. Press "Add Right"

3. Close right pane

4. Press "Add Right" - And the new RadPane has no header.

In our production application the issue is somewhat random, and I cannot see why it (almost always) fails. It almost seems like if a header has been set once on a certain pane, it is never set again on any new pane that is docked left/right.

However, If I make the pane float, the header is set, and docking it again retains the header.

Project: https://drive.google.com/open?id=15-x4u8fqIRcUb5cKUDug-0NnIzmCK58c

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Jan 2019
20 answers
1.9K+ views
Hi,

This is not working on hower and selecteded row. I don't want the fance Telrik selection...

 <Style x:Key="myRowStyle" TargetType="telerik:GridViewRow"
 
            <Setter Property="Background"  Value="#474747"/> 
            <Setter Property="Foreground"  Value="#cecece"/> 
 
            <Style.Triggers> 
                    <Trigger Property="IsSelected" Value="True"
                        <Setter Property="Background"  Value="#a9d9ff"/> 
                        <Setter Property="Foreground"  Value="Black"/> 
                </Trigger> 
                    <Trigger Property="IsMouseOver" Value="True"
                        <Setter Property="Background"  Value="#474747"/> 
                        <Setter Property="Foreground"  Value="White"/> 
                </Trigger> 
                </Style.Triggers> 
            </Style> 

I also have alternete row color

<telerik:RadGridView Background="#474747" Foreground="#cecece"  AlternationCount="2" AlternateRowBackground="#FF313131" RowStyle="{StaticResource myRowStyle}"

How shall I do..?

Kind Regards
Kennet
Yoan
Telerik team
 answered on 31 Jan 2019
3 answers
136 views
I have a GridView using grouping. If I maximize window at start, there is no problem. However, if I scroll down, then maximize window, the header expands but not the row area itself, but the scroll bar disappears. Restoring window returns state back to normal, and if I scroll back to top, then maximize everything is ok
Dinko | Tech Support Engineer
Telerik team
 answered on 31 Jan 2019
2 answers
155 views

Hi,
I am facing problem in scaling with runtime text defined on telerik diagram.

I am attaching a sample project as well, it has associated font [EnterCommand].

Problem is scaling inconsistency done for runtime text definition.

You can also see video here [https://www.screencast.com/t/2iR20HifiOXz]

 

You can download sample project here [http://ge.tt/6SWf2Du2]

Enviornment: Windows 10, 125 % scaling recommended.

Let me know if any thing missing.

Thanks.

Petar Mladenov
Telerik team
 answered on 30 Jan 2019
4 answers
145 views

Hello

I want to use RadDocking in my application, but I have a problem with its animation. The opening of an element is smooth. However, closing it behaves strangely. It goes first smoothly, but then you see a short flicker and it disappears halfway. How do I make the closing process as smooth as opening?

Regards,
Alex

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jan 2019
7 answers
133 views

Hi, I'm using the Breadcrumb tool to display a folder path in a WPF MVVM app.

It all seems to work apart from whent he form is initially loaded...

The UI/form is a usercontrol that constructs it's ViewModel via the extended property

prism:ViewModelLocator.AutoWireViewModel="True"

(I'm using the Prism framework)

The BreadCrumb is bound to a couple of properties in the ViewModel..

      <telerik:RadBreadcrumb Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" x:Name="FolderPath"
                             ItemsSource="{Binding ImportSourceRoot.Children}"
                             HeaderMemberPath="Header"
                             HierarchicalItemsSource="Children"
                             HierarchicalMemberPath="Header"
                             HorizontalAlignment="Stretch"
                             IsLinearMode="False"
                             Path="{Binding ImportPath, Mode=TwoWay}"
                             TextModePath="Path"
                             IsTextModeEnabled="True"
                             VerticalAlignment="Top"
                             />

The ImportSourceRoot property is a nested set of classes with the properties: Children (Observable list of more classes), Path (Folder name or drive letter, 'C:' for example) and Header (similar to Path but also annotated for the drop down).

ImportPath is simply a string property backed by a private variable.

As I said it all seems to work once started, navigation works via drop downs or typing, a pasting a path in works.  The issue is when the form loads.

I initialise the ImportPath.  It seems to start ok in that the displayed 'crumbed' path looks like the initial path, but the actual text path contains the path concatenated on itself.  For example, "C:\temp\data" becomes "C:\temp\data\C:\temp\data" ?

I've monitored the string variable on start up and it gets read then written back in steps ....

"C:\temp\data\C:" -> "C:\temp\data\C:\temp" -> "C:\temp\data\C:\temp\data"

Any ideas?

It's not fatal but is annoying!

Thanks

 

Gregor

 

 

 

T

 

Vladimir
Top achievements
Rank 1
 answered on 30 Jan 2019
1 answer
375 views

Hello,

How can i bind visibility property of a textbox to  a selecteditem of AutocompleteBox (with NullToVisibilityConverter) in Wpf? This code dont work.

......

.....

 <telerik:RadButton Grid.Column="1"
                                                   HorizontalAlignment="Right"
                                                   Visibility="{Binding Path=SelectedItem, ElementName=RadAutoCompleteBox1, Converter={StaticResource NullToVisibilityConverter}}"
                                                   Command="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=UserControl}, Path=DataContext.Add}"
                                                   CommandParameter="{Binding Path=.}">
                                    <Image Source="{framework:ApplicationImage ImageX}" Height="16" Width="16"/>
                                </telerik:RadButton>

....

....

 

 <telerik:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate >
                            <telerik:RadAutoCompleteBox DisplayMemberPath="Name"
                                                        TextSearchMode="Contains"
                                                        SearchText="{Binding Path=Name, Mode=TwoWay}"
                                                        AutoCompleteMode="Suggest"
                                                        SelectionMode="Single"        
                                                        VerticalAlignment="Center"
                                                        BoxesItemStyle="{StaticResource RadAutoCompleteBoxStyle}"
NoResultsContentTemplate="{StaticResource
RadAutoCompleteBoxNoResultsContentTemplate}"
                                                        NoResultsContent="{x:Static resources:Translations.lbl_NoMatches}"
ItemsSource="{Binding Path=DataContext.Project.Names,
RelativeSource={RelativeSource AncestorType=telerik:RadGridView}}">

                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="LostFocus">
<i:InvokeCommandAction 
Command="{Binding RelativeSource={RelativeSource FindAncestor,
AncestorType=UserControl},
Path=DataContext.NewNameEnteredCommand}"
                                                                CommandParameter="{Binding Path=.}"/>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </telerik:RadAutoCompleteBox>
                        </DataTemplate>

                    </telerik:GridViewDataColumn.CellEditTemplate>

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jan 2019
1 answer
125 views

Hello,

I have a question regarding autocompletebox component. I would like to display an icon right at the cell textbox in GridView if the entered value is not present in the itemsource. Can one solve this over binding? Which is the best way to do that?


                    <telerik:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate >
                            <telerik:RadAutoCompleteBox DisplayMemberPath="Name"
                                                        TextSearchMode="Contains"
                                                        SearchText="{Binding Path=Name, Mode=TwoWay}"
                                                        AutoCompleteMode="Suggest"
                                                        SelectionMode="Single"        
                                                        VerticalAlignment="Center"
                                                        BoxesItemStyle="{StaticResource RadAutoCompleteBoxStyle}"
NoResultsContentTemplate="{StaticResource
RadAutoCompleteBoxNoResultsContentTemplate}"
                                                        NoResultsContent="{x:Static resources:Translations.lbl_NoMatches}"
ItemsSource="{Binding Path=DataContext.Project.Names,
RelativeSource={RelativeSource AncestorType=telerik:RadGridView}}">

                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="LostFocus">
<i:InvokeCommandAction 
Command="{Binding RelativeSource={RelativeSource FindAncestor,
AncestorType=UserControl},
Path=DataContext.NewNameEnteredCommand}"
                                                                CommandParameter="{Binding Path=.}"/>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </telerik:RadAutoCompleteBox>
                        </DataTemplate>

                    </telerik:GridViewDataColumn.CellEditTemplate>
Dinko | Tech Support Engineer
Telerik team
 answered on 30 Jan 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
PersistenceFramework
DataPager
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?