Telerik Forums
UI for WPF Forum
1 answer
108 views

hi 
it's my very first time using wpf , and i don't know how to create a chart and link it to my database.

any idea how to start ?

Martin Ivanov
Telerik team
 answered on 19 Apr 2016
3 answers
157 views

When using a RadBusyIndicator on a RadBackStageItem I receive the following error.

 

Dispatcher Unhandled Exception.
OnCurrentTimeInvalidated
Cannot animate the 'Opacity' property on a 'System.Windows.Controls.ContentPresenter' using a 'System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames'. For details see the inner exception.Line: 0Column: 0

 

This happens on a dispatcher thread after the background thread has finished and I set the IsBusy to false.

Martin Ivanov
Telerik team
 answered on 19 Apr 2016
1 answer
131 views

How to add a blank space to the right side of the candlestick chart? 

The data received in real time!

Axis X = Date Time Categorical Axis!

Martin Ivanov
Telerik team
 answered on 19 Apr 2016
3 answers
119 views

I have a RadGridView (SelectionMode.Extended) with ItemsSource of type VirtualQueryableCollectionView. Source is a database wich is connected via EntityFramework.
When I select the first row in the GridView and go down to the bottom and select the last row (or any other), all items in between are fetched from the databse, although I didn't pressed SHIFT. This needs very much time I have many data.
Is there any reason, why the table thinks it has to load all rows between the first an the second selection? Is there any way, to change this behaviour?
I think, this should only happen, if I SHIFT+Click on a row.

Maya
Telerik team
 answered on 19 Apr 2016
2 answers
249 views

I am working on a project that is using the RadScheduleView to populate a time off calendar for employees.  Currently when the view is rendered the appointments are listed in order of their appointment time.  I want them to be ordered based on when the appointments were submitted by the user.    This way we can see who submitted  the request first.  See attached file for a sample output of what the problem is.  In the sample, Tom created his appointment on 3/17 and Paul created his request a few weeks prior on 2/23.  I want Paul's request to be listed first and then Tom's.  It looks like the tool is sorting them based on the actual appointment  times because Tom's appoint is 12am where as Paul's appt is 10am so naturally Tom would be first.  How do I change this behavior to reflect acustom sort method.  

 

I am using a sorted list (sorted on date created) to populate the Appointment collection that is used for the DataContext of the RadScheduleView.

 

Thank you for your help.

-Matt

Matt
Top achievements
Rank 1
 answered on 18 Apr 2016
1 answer
128 views
Hi! I develop WPF MVVM Prism 6 application. Please tell me the following: Can I customize commands of RadDataForm (Insert, Update, Cansel, Next, Previouse, First, Last) only by creation of my own class that inherits from DataFormCommandProvider or I can also use <telerik:EventToCommandBehavior.EventBindings> or <i:Interaction.Triggers> for it?
Ivan Ivanov
Telerik team
 answered on 18 Apr 2016
6 answers
348 views

Hi there.

 

How can I bind "custom control" width (that is in RowDetails of RadGridView) to an RadGridView column actualWidth?

Is that possible?

 

RadGridView

    |__ Column.ActualWidth

    |__ Row

          |__ RowDetails

                |__ CustomControl.Width(ActualWidth)

     

 

 

 

Thanks!!

Mikel
Top achievements
Rank 1
 answered on 18 Apr 2016
2 answers
505 views

I started getting this error after using implicit styles. I am using version 2016.1.217.45

This is my XAML for mumeric input 

<telerik:RadMaskedNumericInput Mask="########" MaskedInput:MaskedInputExtensions.Maximum="99999999" 
                                                               TextMode="PlainText" MaskedInput:MaskedInputExtensions.Minimum="1"
                                                               Width="100" IsClearButtonVisible="False" Value="{Binding Retention}"/>

 

If i go into the Telerik.Windows.Controls.Input.xaml and update this line then the error goes away but then the input control is not displayed at all

    - <Style TargetType="controls:RadMaskedNumericInput" BasedOn="{StaticResource RadMaskedInputBaseStyle}" x:Key="RadMaskedNumericInputStyle">
    + <Style TargetType="controls:RadMaskedNumericInput" x:Key="RadMaskedNumericInputStyle">

Vikas
Top achievements
Rank 1
 answered on 18 Apr 2016
2 answers
381 views

Hello,

I was going over the documentation page for a combo box column in a RadGridView.  The "one click" solution shows adding styles to the Column definition in XAML to set "OpenDropDownOnFocus" to true.

Is there a way this can be accomplished in code?  I am using the NoXaml binaries.  I tried the following:

var col = new GridViewComboBoxColumn { DataMemberBinding = new Binding("Lookup") };
col.ItemsSourceBinding = new Binding("Lookups");
col.EditorStyle = new Style(typeof(RadComboBox));  // Editor Style is null by default
col.EditorStyle.Setters.Add(new Setter {
  Property = RadComboBox.OpenDropDownOnFocusProperty,
  Value = true
});
// Item template displays other properies in the "Lookup" object.
col.ItemTemplate = (DataTemplate)Application.Current.Resources["lookup"];

But when the grid renders now, the dispaly works, but the editor for the combobox columns no longer have content. 

Since I'm using the NoXaml binaries, do I need to explicitly define the EditorTemplate as well because the EditorStyle overrides the implicit template?

Gord
Top achievements
Rank 1
 answered on 18 Apr 2016
5 answers
313 views

I am not sure whether this should be classed as a bug or not.

When using the VisualStudio2013 Dark Theme and closing a RadWindow it "Shrinks" and fades away. However the window is still active whilst it is shrinking.

In my use case I have a RadWindow as a popup with a RadListBox containing several items. On the RadListBox's SelectionChanged Event some work is carried out and I call Close() on the RadWindow. This happens very quickly and if a user double clicks a RadListBoxItem rather than single clicking the RadWindow it is already closing and the RadListBoxItem below the selected item moves under the curser as the RadWindow "Shrinks". This item then fires the same event.

As a work around I am going to set IsEnabled=false on all my RadWindows before calling Close() as this fixes the issue.

I just wondered whether this could effect other peoples projects in different ways, and whether the IsEnabled=false should be set somewhere else within the Telerik code as an automated process.

Regards,

Shaun

 

 

Shaun
Top achievements
Rank 1
 answered on 18 Apr 2016
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?