Telerik Forums
UI for WPF Forum
3 answers
141 views

Hello,

Look at the screen shot: the first entry is selected by the search, but it is not highlighted. It's because the "i" char has a special accent on it.

It seems that the logic between search and highlighting is not the same.

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Oct 2019
7 answers
228 views

I want to disable all highlight in the RadAutoCompleteBox dropdown list. So I have HighlightBehavior.FindHighlightedIndex which returns -1. But, still one item in ItemsSource is highlighted. How can I fix it?

 

FYI: On entering EACH new character in the search text box, we are calling a web service which returns a list of recommended search strings from history. (This behavior is similar to google search box.) And we set that list to ItemsSource property. This service call takes a few milliseconds.

Observation: after hitting a new character in search box, FindHighlightedIndex is called, which returns -1, and after that, our service returns a new set of strings to be set in dropdown list, and that list is set to the ItemsSource property.  

 

Kindly suggest how to fix this.

Thanks.

 

Our code snippet below:

public class NoSuggestionItemHighlightBehavior : HighlightBehavior
{
    public override int FindHighlightedIndex (string searchText, System.Collections.IList filteredItems, IEnumerable<object> escapedItems, string textSearchPath, TextSearchMode textSearchMode)
    {
       return -1;
    }
}

 

<telerik:RadAutoCompleteBox x:Name="textBox_Search"
ItemsSource="{Binding AutoCompleteList}"
SelectionMode="Single"
TextSearchMode="Contains"
BorderThickness="0"
HighlightBehavior="{StaticResource NoSuggestionItemHighlightBehavior}"
SearchText="{Binding SearchText, Mode=TwoWay}">

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Oct 2019
5 answers
320 views

Hi

How can I create a custom Hexagons RadButton with material style and effect?

Vicky
Telerik team
 answered on 18 Oct 2019
6 answers
233 views

Dear Telerik team,

We have a RadGridView with localised columns and we would like to use string that remain same for all localised value. In order to achieve we use UniqueName="Id" and Set AutomationProperties.AutomationId="{Binding UniqueName, RelativeSource={RelativeSource Self}}" but when we run application the Header which is a localised string always get precedence and we end up with header value.

Here is a code there we were using for defining columns

<telerik:GridViewDataColumn
                    x:Name="OrderId"
                    Width="auto"
                    AutomationProperties.AutomationId="{Binding UniqueName, RelativeSource={RelativeSource Self}}"                     DataMemberBinding="{Binding Id}"
                    Header="{x:Static resources:Resources.Id}"
                    Style="{StaticResource RightAlignedRadGridViewColumnStyle}"
                    UniqueName="OrderId">

Usman
Top achievements
Rank 1
 answered on 18 Oct 2019
1 answer
86 views

Hi,

Facing an strange issue, whenever i am trying to add a new row in the grid , the multi select filters starts showing empty value in the filter options, so from which event i can rectify this issue.

 

Help is appreciated. Attached the screenshot.

 

Dilyan Traykov
Telerik team
 answered on 18 Oct 2019
2 answers
254 views

Hi,

When I try to set the padding for the Row Header in my pivot grid it causes the row expand buttons to disappear? I need to adjust the padding so the text sits correctly (in the middle not bottom) of the row.

I have attached images showing the missing expand button. Should the RowHeaderStyle maybe based on a different style?

Thanks for you help!

 Dom

1.<pivot:RadPivotGrid x:Name="radPivotGrid1" Grid.Column="0" DataProvider="{Binding DataProvider}" AllowSelection="True" RowHeight="20" CellTextPadding="2" >
2.  <pivot:RadPivotGrid.RowHeaderStyle>
3.    <Style TargetType="pivot:PivotHeader" BasedOn="{StaticResource PivotHeaderStyle}">
4.      <Setter Property="Padding" Value="20 2 5 0"></Setter>
5.    </Style>
6.  </pivot:RadPivotGrid.RowHeaderStyle>
7.</pivot:RadPivotGrid>
Dom
Top achievements
Rank 1
 answered on 18 Oct 2019
1 answer
260 views
Is it possible to change the size of the thumbnails from code behind?
Martin
Telerik team
 answered on 17 Oct 2019
3 answers
542 views

I have the following .xaml and it correctly colorizes the foreground on specific items when a certain condition is met (Impinged = True).
However, when I select that item, it doesn't maintain the color. I attempted the following suggestion on this thread but it didn't work. Either because I am working with Telerik or something else.

I tried this but didn't work:

https://stackoverflow.com/questions/49936272/combobox-change-selected-item-background-color-by-trigger-condition

 

<telerik:GridViewDataColumn.CellTemplate>
  <DataTemplate>
     <telerik:RadComboBox
        x:Name="cbLowBand"
        DisplayMemberPath="Name"
        ItemsSource="{Binding DataContext.LowBandItems, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadGridView}}}"
        SelectedItem="{Binding SelectedLowItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
        Style="{StaticResource MyCustomStyle}"

        <telerik:RadComboBox.ItemContainerStyle>
       <Style TargetType="telerik:RadComboBoxItem">
              <Style.DataTriggers>
         <DataTrigger Binding="{Binding IsImpinged}", Value="True">
        <Setter Property="Foreground" Value="Red" />
        <Setter Property=ToolTip", Value="{Binding ImpingedTooltip}" />
         </DataTrigger>
      </Style.DataTriggers>
    </Style> 
    </telerik:RadComboBox.ItemContainerStyle>

       <!--other non related stuff>
       <telerik:EventToCommandBehavior.EventBindings>
     <telerik:EventBinding
              Command="{Binding DataContext.LowBandItem, RelativeSource=...........

Dimitar Dinev
Telerik team
 answered on 17 Oct 2019
3 answers
222 views

Hi,

we have a strange behavior, when we bound a group filter.

                <telerik:RadScheduleView.ViewDefinitions>
                    <telerik:DayViewDefinition  GroupFilter="{Binding VmGroupFilter}" DayStartTime="06:00" DayEndTime="19:00" TimerulerMajorTickStringFormat="{}{0:H:mm}"/>
                    <telerik:WeekViewDefinition GroupFilter="{Binding VmGroupFilter}" DayStartTime="06:00" DayEndTime="19:00"/>
                    <telerik:MonthViewDefinition GroupFilter="{Binding VmGroupFilter}"/>
                </telerik:RadScheduleView.ViewDefinitions>
            </telerik:RadScheduleView>

The DayView works like expected, but now the week view is still a day view and the month view is the week view.
See attached screen shots.

Do you have any explanation for this?

 

Vladimir Stoyanov
Telerik team
 answered on 17 Oct 2019
1 answer
333 views

We are currently using a simple map component which allows us to load our "map" as a picture (.png). I would like to use the Telerik RadMap instead because you provide several features (virtualization, zooming, layers) which are only supported in a basic way by our current component. We are displaying industrial plant maps which could be represented in "GPS" coordinates however our systems are built to use a different coordinate system. The problem is that we do NOT use shape files, a global coordinate system or such things however the RadMap component is mostly built to be used like that. I tried to use the UriImageProvider which displays my map however I don't know how to configure my coordinate system.

Our map has the following data:

- map image (.png)

- defined coordinate origin (-> e.g. bottom right of the image)

- 1 Pixel = 20mm

- drawings (polylines) based on coordinates located in a SQL DB

 

Is it possible to use the RadMap for our purposes and if so how?
Martin Ivanov
Telerik team
 answered on 17 Oct 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?