Telerik Forums
UI for WPF Forum
1 answer
125 views

Hello,

When using the XmlTagger and the FoldingTagger at the same time, the XML data can't be folded...

Petar Mladenov
Telerik team
 answered on 23 Oct 2019
1 answer
102 views

Hello,

is it possible to set the print titles to repeat the rows at top?

 

In the form of this example:

worksheetsheet.PageSetup.PrintTitleColumns = "$A:$Z";

 

I updated the latest version of UI.for.Wpf.45 (2019.3.917), but this don´t resolved my problem.

 

Thanks in advance!

 

 

Tanya
Telerik team
 answered on 23 Oct 2019
2 answers
159 views

Let's say :
1. In my gridView I selected first cell in a row (which is a GridViewMultiColumnComboBoxColumn)
2. I go and prefiltered my items in "sub" grid using filters
3. Choose one of rows
4. Value was copied to "main" grid ...perfect!

until now everything is fine but...

4. Now I go to next row (in my "main" gridView) and expect that after opening first cell (GridViewMultiColumnComboBoxColumn) items will be prefiltered but they are not.

How can I achive such a behavior?



I was trying to save my FilterDescriptor (from previous row) and add it to new row on event GridView_PreparedEdit like:

myCell.ItemsSourceProvider.CollectionView.FilterDescriptors.Add(dataPointNameFilter);   

but then I saw (Call Stack) that GridViewMultiColumnComboBoxColumn if there is a FilterDescription filter (at least one) set, just before drop down with "sub" grid will be shown is raising FilterDescriptors_CollectionChanged where he cleaning FilterDescriptor anyway and therefore reset previous filter state.

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Oct 2019
3 answers
102 views

Hello,

PropertyGrid looks promising but I'm struggling to make it work as I'd like. I want to be able to specify properties to display based on annotations in my View Model. Is this possible? I have tried applying the [Browsable] attribute and this works to an extent but you have to explicitly set [Browsable(fase)] on properties you want to exclude. In my case the View Model inherits from another class, so it is including all the properties from the base class and it is not my code so I can't add annotations to control these.

Is there any way to 'opt-in' to displaying properties? i.e. Only properties that are annotated will be displayed.

 

Thanks

Frank
Top achievements
Rank 1
 answered on 22 Oct 2019
0 answers
109 views

I have the TabControl with any TabPages. Each page has TreeView with with several thousand nodes + DataPager. All TabPages have identical XAML and ViewModel. An exception occurs when I switch between pages (incorrect arguments RadDataPager.PageSize and RadDataPager.PageIndex). If  TreeView on selecting TabPage is empty exeption not occurs.

Fragment my XAML :

...

<telerik:RadDataPager x:Name="xDataPager" Grid.Column="2" Margin="10,0,10,0"
PageSize="{Binding Value, ElementName=ndCount,Mode=TwoWay,UpdateSourceTrigger=Explicit}" FontSize="12"
BorderThickness="1,0,1,1" DisplayMode="All"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Center"
Source="{Binding ObjectList,Mode=TwoWay,NotifyOnSourceUpdated=True,UpdateSourceTrigger=PropertyChanged}"
PageIndex="{Binding ActualPage, Mode=TwoWay, UpdateSourceTrigger=Explicit}"
IsTotalItemCountFixed="false" >
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding Command="{Binding PageChangedCommand}" EventName="PageIndexChanged" RaiseOnHandledEvents="False" PassEventArgsToCommand="True" />
<telerik:EventBinding Command="{Binding PageChangingCommand}" EventName="PageIndexChanging" RaiseOnHandledEvents="False" PassEventArgsToCommand="True" />
</telerik:EventToCommandBehavior.EventBindings>
</telerik:RadDataPager>
<StackPanel Orientation="Horizontal" Grid.Column="3" VerticalAlignment="Center" Margin="10,0,10,0">
<TextBlock Text="Объектов на странице :" FontSize="12" VerticalAlignment="Center" />
<telerik:RadNumericUpDown x:Name="ndCount" IsInteger="True" ValueFormat="Numeric" Value="{Binding PageSize, Mode=TwoWay,UpdateSourceTrigger=Explicit,NotifyOnValidationError=True}" Minimum="10" Maximum="200" SmallChange="5" LargeChange="10" VerticalAlignment="Center" Margin="5,0,10,0"/>
</StackPanel> <telerik:RadDataPager x:Name="xDataPager" Grid.Column="2" Margin="10,0,10,0"
PageSize="{Binding Value, ElementName=ndCount,Mode=TwoWay,UpdateSourceTrigger=Explicit}" FontSize="12"
BorderThickness="1,0,1,1" DisplayMode="All"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Center"
Source="{Binding ObjectList,Mode=TwoWay,NotifyOnSourceUpdated=True,UpdateSourceTrigger=PropertyChanged}"
PageIndex="{Binding ActualPage, Mode=TwoWay, UpdateSourceTrigger=Explicit}"
IsTotalItemCountFixed="false" >
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding Command="{Binding PageChangedCommand}" EventName="PageIndexChanged" RaiseOnHandledEvents="False" PassEventArgsToCommand="True" />
<telerik:EventBinding Command="{Binding PageChangingCommand}" EventName="PageIndexChanging" RaiseOnHandledEvents="False" PassEventArgsToCommand="True" />
</telerik:EventToCommandBehavior.EventBindings>
</telerik:RadDataPager>
<StackPanel Orientation="Horizontal" Grid.Column="3" VerticalAlignment="Center" Margin="10,0,10,0">
<TextBlock Text="Objects on page:" FontSize="12" VerticalAlignment="Center" />
<telerik:RadNumericUpDown x:Name="ndCount" IsInteger="True" ValueFormat="Numeric" Value="{Binding PageSize, Mode=TwoWay,UpdateSourceTrigger=Explicit,NotifyOnValidationError=True}" Minimum="10" Maximum="200" SmallChange="5" LargeChange="10" VerticalAlignment="Center" Margin="5,0,10,0"/>
</StackPanel>

...

 

Rumyantsev
Top achievements
Rank 1
 asked on 21 Oct 2019
4 answers
112 views

Is it possible to change the behavior of the checkboxes inside RadPivotFieldList so that the first underscore of the label is visible? I cannot find a way without retemplating the whole control. The text actually is UID_BNK - bank code, but the underscore is swallowed by the checkbox.

Kind regards,

Gian Paolo

 

Gianpaolo
Top achievements
Rank 1
 answered on 21 Oct 2019
8 answers
540 views
Hello,

I need your help for a few RadProperty tweaks:

1) I auto-generate my property grids from all sorts of different objects. I need to set a data template that will help me "word wrap" all the string properties by default

2) I sometimes need to hide the "property names" section, how can I achieve that?

3) I want to hide the grey block to the left of the "property names" section, how can this be achieved?

I have attached a screenshot to better explain my requirements.

Many thanks!
Frank
Top achievements
Rank 1
 answered on 21 Oct 2019
8 answers
315 views

I'm getting an error dialog opening SDK Samples Browser:

Cannot connect to Telerik XAML-SDK GitBug repository. Possible reasongs:

- internet connection is not available

- GitHub.com is down for maintenance

Both assumptions are false.

How to fix this annoying dialog?

Mihaela
Top achievements
Rank 1
 answered on 18 Oct 2019
3 answers
111 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
193 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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?