Telerik Forums
UI for WPF Forum
5 answers
615 views
We recently upgraded to the 2016 Q1 Telerik control library to address some bugs in previous versions.  However, the new full text search in the RadGridView has broken an existing feature within our product.  I need to be able to either turn this off completely, or change the keyboard mapping to something other than Ctrl+F.  How can this be done?  Thanks.
Dilyan Traykov
Telerik team
 answered on 21 Feb 2019
1 answer
154 views

I have a celledittemplate with a button inside that template, bound with command and command parameter.

When i enter the cell in edit mode it initializes the command but it is missing it's datacontext.
I found out that when i retrigger my command's RaiseCanExecuteChanged on the PreparedCellForEdit the datacontext is known.

So i was wondering if the datacontext is being set to late on the celledittemplate.
I would find it rather stupid to have to use the PreparedCellForEdit event everytime i need this behaviour

Martin Ivanov
Telerik team
 answered on 21 Feb 2019
2 answers
438 views

Is there any way to bind a command to the built-in Previous/Next/Cancel buttons in the RadWizard?

I'd like to handle it in my viewmodel and not the xaml code behind.

 

Thanks,

Mahdieh,

Mahdieh
Top achievements
Rank 1
 answered on 20 Feb 2019
4 answers
512 views

Whenever the user selects the time before the date on the RadDateTimePicker DropDown, the date gets defaulted to today's date (even though today's date is outside of the specified selectabledates). I'm looking for a way to default the date to SelectableDateStart or have the RadDateTimePicker wait for the user to select a date.

 

I included two pictures:

1. What the user sees when he clicks on the DepartureDateTime RadDateTimePicker

2. What gets selected when the user clicks on the time first (and hasn't selected any dates)

 

My XAML code looks like this:

<telerik:RadDateTimePicker x:Name="ItineraryDepartureDateTimePicker"
SelectedValue="{Binding Itinerary.DepartureTime}"
SelectableDateStart="{Binding Itinerary.TravelRequestFromDate}"
SelectableDateEnd="{Binding Itinerary.TravelRequestToDate
IsInputRestrictedToSelectableDates="True"

DisplayDate="{Binding Request.FromDate}"
DisplayDateStart="{Binding Itinerary.TravelRequestFromDate}"
DisplayDateEnd="{Binding Itinerary.TravelRequestToDate}"

CalendarStyle="{StaticResource CalendarStyle}" HorizontalAlignment="Left" DateTimeWatermarkContent="{DynamicResource LocalTime}" Width="140"/>

 

Where:

  • Itinerary.DepartureTime is of type DateTime and is currently null
  • Itinerary.TravelRequestFromDate is of type DateTime and is currently "July 25, 2018 00:00:00"
  • Itinerary.TravelRequestToDate is of type DateTime and is currently "July 27, 2018 00:00:00"

What am I missing? Why is the date being defaulted to today's date whenever the user selects a time before a date on the Dropdown?

 

Chloe
Top achievements
Rank 2
 answered on 20 Feb 2019
5 answers
587 views

Hi,

Press Clear All button and do: 

DatagridResults.FilterDescriptors.SuspendNotifications();
foreach (var col in DatagridResults.Columns)
{
    if (col.ColumnFilterDescriptor.IsActive)
    {
        col.ClearFilters();
    }
}
DatagridResults.FilterDescriptors.ResumeNotifications();

 

Filter icon is still black (indicating we are still filtering). Note that this actually shows a false information to the user, because the Filter has been removed, but it is not reflected.

Only occurs with columns I load default filters (which had saved). To load the saved filters:

public IColumnFilterDescriptor LoadColumnFilter(IColumnFilterDescriptor columnFilterDescriptor)
{
    if (FilterSettings != null && FilterSettings.Count > 0)
    {
        foreach (FilterSetting setting in FilterSettings)
        {
            if (setting.ColumnUniqueName.Equals(columnFilterDescriptor.Column.UniqueName))
            {
                if (setting.Filter1 != null)
                {
                    columnFilterDescriptor.FieldFilter.Filter1.Operator = setting.Filter1.Operator;
                    columnFilterDescriptor.FieldFilter.Filter1.Value = setting.Filter1.Value;
                    columnFilterDescriptor.FieldFilter.Filter1.IsCaseSensitive = setting.Filter1.IsCaseSensitive;
                }
 
                columnFilterDescriptor.FieldFilter.LogicalOperator = setting.FieldFilterLogicalOperator;
 
                if (setting.Filter2 != null)
                {
                    columnFilterDescriptor.FieldFilter.Filter2.Operator = setting.Filter2.Operator;
                    columnFilterDescriptor.FieldFilter.Filter2.Value = setting.Filter2.Value;
                    columnFilterDescriptor.FieldFilter.Filter2.IsCaseSensitive = setting.Filter2.IsCaseSensitive;
                }                
                return columnFilterDescriptor;
            }
        }
     }
     return columnFilterDescriptor;
}

 

As I have to remove a load default filter to the filter icon actualize correctly?

Thanks, Gerard.

 

 

 

 

 

As I have to remove a loaded default filter to the filter icon actualize correctly?
As I have to remove a loaded default filter to the filter icon actualize correctly?
As I have to remove a loaded default filter to the filter icon actualize correctly?
As I have to remove a loaded default filter to the filter icon actualize correctly?
Lou
Top achievements
Rank 1
 answered on 20 Feb 2019
1 answer
192 views

Hi!

I would like to implement step by step routing not shape to shape like that:

- click on shape's connector

- click some points on diagram

- finally click another shape's connector

Clicks are marked as red circle in attechement 0.png. Is it possible and where should I start?

Another short question is about moving connection. Is there a way to avoid displacement of rigth angle between shape's connector and the first connection point? See illustration in attachement 1.png.

 

Petar Mladenov
Telerik team
 answered on 20 Feb 2019
3 answers
97 views

Hello!

See: http://prntscr.com/mfabxz for a screenshot using BorderThickness="1" BorderBrush="Yellow" ShowColumnHeaders="false"

Why is the top border not shown without the headers but clearly there when the headers are: http://prntscr.com/mfadn4 ?

Vladimir Stoyanov
Telerik team
 answered on 19 Feb 2019
4 answers
1.4K+ views

Using v2018-03:

According to https://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/first-row-always-selected I have to set IsSynchronizedWithCurrentItem =False when I don't want the first element to be selected automatically. Doing this the variable the SelectedItem is bound to is not overwritten, this is good. But the element referenced by SelectedItem is not highlighted in the tree. I need the tree to highlight the item referenced in SelectedItem as it was before the TreeListView instantiated.

 

Thanks in advance!

Vladimir Stoyanov
Telerik team
 answered on 19 Feb 2019
1 answer
430 views

Let's say I have a RadGridView ---first level.(Father)

Then Inside it there is RowDetails DataTemplate in each row  -- second level(Son)

Inside RowDetails template there is also a RadGridView, --- third level. (Grandson)

So in the cell template of the third level, I have a combobox, the itemsSource comes from ViewModel. So how to bind it? 

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Feb 2019
6 answers
263 views
Good day.
I have a problem when I try to enter an emoticon in RadWatermarkTextBox from windows touch keyboard.
When trying to enter, we get the exception "The surrogate pair is invalid. Missing a low surrogate character."
Please tell me how you can solve this problem.

graciously
Denis
Kalin
Telerik team
 answered on 19 Feb 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?