Telerik Forums
UI for WPF Forum
1 answer
130 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
115 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
235 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
124 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
340 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
493 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
377 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
306 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
1 answer
164 views

WPF Telerik RadGridView disappeared when i applied global style.

                    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:fw="clr-namespace:SSMS.Framework;assembly=SSMS.Framework">
 
    <Style TargetType="telerik:RadGridView">
        <Setter Property="ShowGroupPanel" Value="False" />
        <Setter Property="AutoGenerateColumns" Value="False" />
        <Setter Property="RowIndicatorVisibility" Value="Collapsed" />
        <Setter Property="CanUserFreezeColumns" Value="False" />
        <Setter Property="IsReadOnly" Value="True" />
        <Setter Property="BorderThickness" Value="1,1,1,0" />
    </Style>
 
    <Style x:Key="BoldStyle" TargetType="telerik:GridViewRow" BasedOn="{StaticResource GridViewRowStyle}">
        <Setter Property="FontWeight" Value="Bold" />
    </Style>
 
...........................etc

If i remove the below part from GridViewStyle.xaml, the grid appearing fine, but i want to configure those settings globally.

<Style TargetType="telerik:RadGridView">
            <Setter Property="ShowGroupPanel" Value="False" />
            <Setter Property="AutoGenerateColumns" Value="False" />
            <Setter Property="RowIndicatorVisibility" Value="Collapsed" />
            <Setter Property="CanUserFreezeColumns" Value="False" />
            <Setter Property="IsReadOnly" Value="True" />
            <Setter Property="BorderThickness" Value="1,1,1,0" />
</Style>

I am using Telerik WPF 2016.1.112.45
I am sure, before it was worked on the version 2015.3.1104.45.
Anything I missed?
Karuppasamy
Top achievements
Rank 1
 answered on 16 Apr 2016
2 answers
492 views

I am using Interaction triggers to Data bind the Data filter event to Relay commands in view model, I can do this for FilterOperatorsLoading event that is directly in DataFilter but i need to listen to 2 other events that are in FilterDescriptors.

This event works:

<i:EventTrigger EventName="FilterOperatorsLoading">
                    <cmd:EventToCommand Command="{Binding FilterOperatorsLoadingCommand}" PassEventArgsToCommand="True" />
</i:EventTrigger>

How can do that same for RadDataFilter.FilterDescriptors.CollectionChanged and RadDataFilter.FilterDescriptors.ItemChanged event

Thanks

vikas mittal

Vikas
Top achievements
Rank 1
 answered on 15 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?