Telerik Forums
UI for WPF Forum
6 answers
347 views

Hello,

 I was wondering if there is any way to set up a TimeSpanPicker so that negative values can be provided?

I tried setting the "Minimum" option on the components to a negative value, but it seems this isn't respected and the minimum remains at 0.

 Any help would be appreciated

Cheers

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Oct 2019
5 answers
664 views

This seems like an easy one and I'm probably missing something obvious.  If so, I apologize in advance.  But I'm confused how to style the Busy indicator associated with the RadGridView.  If I drop an independent RadGridView on my UI, I can used Blend to create a copy of the template and style it.  But I can't figure out how to bind that with my GridView. 

I included a screenshot that is a composite of 2 screenshots.  The top is GridView.IsBusy = false.  The bottom is GridView.IsBusy = true.  The arrows include the Busy Indicator I'm trying to style.  

 

Scott
Top achievements
Rank 1
 answered on 15 Oct 2019
5 answers
240 views

I am trying to use the RadWindow.Alert() dialog however when I am trying to call it I get an "infinite loop". It seems the code never returns from the Win32 call. It can be seen clearly when the Alert() is executed and "debugger pause" is pressed in Visual Studio. The problem is quiet strange. I checked the demo on two additional computers. It was working with none. All three are using Windows 10. The issue also occurs for Confirm(). Please see the attached project (disguised as a .gif) as a very trivial example.

 

System information:

Visual Studio 2019, Project build with .NET v4.6

Windows 10

Telerik WPF v2019.3 (.NET v4.5) and Telerik WPF v2019.2 (.NET v4.5)

Dilyan Traykov
Telerik team
 answered on 15 Oct 2019
6 answers
136 views

     Hi,

I'm facing an issue with RadCalendar placed inside a RadDocking control. The DisplayDateChanged event is called whenever I dock or undock the calendar from the docking control. I've bound a data refresh command to the said event, but dock/undock causes the command to be fired without being needed.

Here is the Xaml:

<telerik:RadCalendar>

<behaviors:EventTrigger EventName="DisplayDateChanged">
       <behaviors:InvokeCommandAction Command="{Binding Path=RefreshDataCommand}" CommandParameter="{Binding                        ElementName=ctrlCalendarView, Path=DisplayDate}">
</behaviors:InvokeCommandAction>
</telerik:RadCalendar>

RefreshDataCommand is coming from ViewModel.

What the issue is this, please look into the matter.

Thanks.

Vladimir Stoyanov
Telerik team
 answered on 15 Oct 2019
6 answers
260 views

As far as I can tell, MultiColumnComboBox does not have a TextSearchMode or IsSynchronizedWithCurrentItem property like the RadComboBox.  I'm looking to implement the Contains value of TextSearchMode. 

I also want the MultiColumbComboBox to display the current item at startup.  (using only one item at a time)  Is there another way to do these things?  Thanks.

Yoan
Telerik team
 answered on 14 Oct 2019
7 answers
286 views

Hello, I need to convert a RadDiagram to PDF/A-1a. I managed to convert it as an image, but that's not good enough. I need a vector format, because I need the text in the shapes, and my custom templates. Converting to SVG would be good enough, I can try to take it from there.

I saw your sample in http://docs.telerik.com/devtools/wpf/controls/raddiagram/features/html-support, but I need images, and I use custom templates.

I tested the ExportToPdf sample in the SDK, and it looks like a good start. I was thinking of adding image and custom shape support to it, but if it doesn't export to PDF/A-1a in the first place, it's a non starter.

Is there a way to export a RadDiagram to a PDF/A-1a document, even if images and custom shapes aren't supported ?

Martin Ivanov
Telerik team
 answered on 14 Oct 2019
11 answers
2.6K+ views
Hello Telerik,

Any tips on how to enable selection of a GridViewRow from a right mouse click?

There are plenty of examples demostrating how to do this when a ContextMenu is involved, but I do now want a ContextMenu in my case.

Thanks in advance!

Regards,
Roland
Martin Ivanov
Telerik team
 answered on 14 Oct 2019
2 answers
157 views

Hi Gyus,

we have the following scenario:

UI with a RadListBox and a RadScheduleView
The ListBox contains custom business objects

We want to drag and drop these business objects to the ScheduleView.

So we need the following:

A custom DragSourceBehaviour for the RadListBox (checked and works)
A custom DragDropBehaviour for the ScheduleView (checked and works)
So far so good...

But now the problems starts:

We need a custom appointment that implements the only interface IAppointment.
We don't need any further appointment interface like IExtendedAppointment or IObjectGenerator.
But we can't inherit from the Appointment base class, because we already inherit from our own base class.

If we implement the IAppointment interface, the drop on the schedule view doesn't work!
And unfortunately we don't understand why. And believe me, we have tried many variants.

We know all your samples from the sdk and from the forum (for example: WithDB and the example from 2012)
But all these examples don't just implement the IAppointment interface.

And when is the Drop operation completed?
If you drag and drop only inside the ScheduleView there is as DragAndDropCompleted event. 
But, if you drop from another control, there is no completed event!
We have to write the changed data directly into the database. So we need to know when the drop processes are completed.

Can you please tell me the two drag and drop lifecycles (internal drag and drop as well as drop from another control)?

Thank you very much.
 

Markus
Top achievements
Rank 1
Veteran
 answered on 14 Oct 2019
2 answers
107 views
I have looked over the examples for selecting items from the Visualization layer, specifically "Visualization Layer Items Selection" but they all seem to require adding event handlers in the code behind. Is there a way to select items without having to add an event handler in the code behind and keep all the logic in the viewmodel? Normally I just use data binding with the ItemsSelected property but that doesn't seem to be working.
n/a
Top achievements
Rank 1
 answered on 11 Oct 2019
3 answers
98 views

Hi, 

I have an app that uses voice control. When a command is ambiguous (i.e. meaning it returns multiple potential results), I want to pop up a model window displaying a list of those potential results, preferably in a grid. I then want to allow the user to simply click the row in the grid containing the desired command (or data value), and return that selected value to the calling window.

To further complicate matters, the voice-control mechanism (cognitiveservices.speech) listens on a secondary thread, so I want the modal dialogue to suspend not only suspend the activities of the calling window until the user makes his/her selection, but also the listening thread.

Any guidance?

Wayne

Dilyan Traykov
Telerik team
 answered on 11 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?