Telerik Forums
UI for WPF Forum
2 answers
466 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
542 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
607 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
213 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
113 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.5K+ 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
445 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
286 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
0 answers
130 views

Is there a way to attach to the underlying CellStyleSelector event of the pivot's data grid?

Would like colorize the cell's background color depending on which group and row is selected.

I was trying to use the DataTemplateSelector selector before, but the UI virtualization was causing this to break when scrolled.

Derek
Top achievements
Rank 1
 asked on 18 Feb 2019
1 answer
69 views

Hello!

 

Text creating does not work while starting to draw text region at image or another shape.

But when I start to draw text region at empty space it works and after that I can start drawing it at image too.

 

Could you tell me how to fix it? ( to make it work at first time?)

 

Best regards,
Tatiana

Dinko | Tech Support Engineer
Telerik team
 answered on 18 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
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?