Telerik Forums
UI for WPF Forum
4 answers
130 views
Hello,

consider the following xaml:

    <telerik:RadDateTimePicker SelectionChanged="RadDateTimePicker_OnSelectionChanged" />

In the code-behind, there's this:

    private void RadDateTimePicker_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        throw new Exception("Exception!");
    }

Even if you add event handlers to the necessary events in App.xaml.cs (DispatcherUnhandledException and AppDomain.CurrentDomain.UnhandledException), these will never be triggered.

Do the same with a normal Button and the events will fire.

Is RadDateTimePicker(.SelectionChanged) swallowing these exceptions?

My application is a little more complex (with MVVM and a Command), but it boils down to that. So is there any way of catching these exceptions too? I want a general exception handler in my App.xaml.cs for any non-specific cases I didn't (or chose not to) handle. It would be cumbersome if I'd have to add try-catches for every command that's fired by a RadDateTimePicker (and a leaking of knowledge about the UI in my ViewModel).
Konstantina
Telerik team
 answered on 15 May 2014
1 answer
138 views
Hello, 

I have downloaded Diagram/MVVM_WPF examples, but when I run example, make a connection e.g. between R8 and Golf blocks, and after this move R8 block into Volkswagen container I got an exception "Unable to cast object of type 'Telerik.Windows.Controls.RadDiagramConnection' to type 'Telerik.Windows.Controls.Diagrams.Extensions.ViewModels.NodeViewModelBase'."

How to resolve this issue? 
Zarko
Telerik team
 answered on 15 May 2014
1 answer
205 views
Hello!

I am trying to change a color of RadTreeView border, but I can't find information on how to reference default border brush which is influenced by current theme.
Pavel R. Pavlov
Telerik team
 answered on 15 May 2014
3 answers
265 views
I am using the following to locate an Item in the grid and select it;
For Each item As AreaView In gvArea.Items
    If (item.AreaId = iAreaId) Then
        gvArea.SelectedItem = item
        gvArea.ScrollIntoView(item)
        Exit For
    End If
Next

However I would prefer to use something like;

Dim item As AreaView = gvArea.Items.Where(Function(f) f.AreaId = iAreaId)
gvArea.SelectedItem = item
gvArea.ScrollIntoView(item)

I have tried the above using "gvArea.Items", "gvArea.ItemsSource" and "gvArea.DataContext" with no luck.

Thanks in advance...
Raymond
Top achievements
Rank 1
 answered on 15 May 2014
3 answers
152 views
Hi,

Was trying to get some of the controls working in the demo using the online documentation, but noticed it is only given in C#.  While I'm well aware that there are online conversion tools (you have one too), I was hoping Telerik of all companies would buck the ignorant trend of the many .Net sites and treat VB developers as equals.  I mean, we already deal with C# being the default examples on all of the other controls. 

Not trying to get down on Telerik in any way, shape or form.  Just an observation. 

Going back to the WPF documentation, I'm assuming you're still working on it and am hopeful that you'll include documentation for the other 50-60% of the developers out there.  Also, some procedural code examples would be awesome as well.  Currently, there are examples of how th dynamically build the controls that way.

Thanks,
Kurt
Chancel
Top achievements
Rank 1
 answered on 14 May 2014
4 answers
193 views
I have looked for, but not yet found, any predefined RadWindows for File Open, File Save, and File Print dialogs. Do they exist? If not, are there any plans to make them available in a future version of RadWindow?

Please see the post by Manfred Lange

http://msdn.microsoft.com/en-us/library/aa969773.aspx

at MSDN regarding the existing Microsoft common dialog boxes and the problems with them. I think it would be great if Telerik provided a unified set of predefined windows (including File Open Save and Print) for use with RadWindow.

Thanks.

PS: Note that the remarks by Manfred Lange concerning these standard window dialogs are found at the end of that long MSDN article on common dialog windows.
Paul
Top achievements
Rank 1
 answered on 14 May 2014
3 answers
189 views
Does the RadRichTextBox control support split table cell?  I can't find any documentation for it.  If not supported directly, how do I implement the functionality programmatically?
Petya
Telerik team
 answered on 14 May 2014
7 answers
203 views
Hi,
i got a problem with getting selected row when grid is groupped. I got event on 
GridView.RowDetailsProvider.PropertyChanged
than in void:
var selectedRow = (GridViewRow)this.ListGridView.ItemContainerGenerator.ContainerFromItem(this.ListGridView.SelectedItem);
but it works only when grid is not groupped. How can i get GridViewRow from group?

Steve
Top achievements
Rank 1
 answered on 14 May 2014
1 answer
113 views
Hi,
is there any way how can I highlight empty values in chartview? I tried to use PointTemplateSelector but when Series YValue is null or Double.NaN then I can't draw empty value.
Sia
Telerik team
 answered on 14 May 2014
2 answers
297 views
I try, but not works:

<chartView:BarSeries CategoryBinding="{Binding Path=Value.Price}"
                     ItemsSource="{Binding RecordsSorted}"
                     ValueBinding="{Binding Path=Value.Count}">
    <telerik:BarSeries.LegendSettings>
        <telerik:SeriesLegendSettings />
    </telerik:BarSeries.LegendSettings>
JackSH
Top achievements
Rank 1
 answered on 14 May 2014
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?