Telerik Forums
UI for WPF Forum
1 answer
173 views
Hi,

I have a scatter chart with three series and I need to change the points in two of these series to a plus sign (+). I looked in the documentation but the page below that covers styling does not mention the scatter series.

http://www.telerik.com/help/wpf/radchart-styling-and-appearance-styling-chart-series.html

I tried restyling ScatterPoint and in its template I found the property PointMark.ShapeStyle which appears to be what I need to apply a new style to. But since the Shape is an enumeration I don't know how to proceed. Would you be kind enough to give me a pointer?

Cheers,
Jose
Yavor
Telerik team
 answered on 14 Apr 2011
8 answers
198 views
Hello
I am using Rad WPF grid.
I have a requirement of opening up a new screen(edit screen) on double clicking on grid row. I also have a checkbox column and Edit button on my screen. Another requirement is when I tick checkbox grid column and click on Edit button should open a new screen(edit screen).
Please guide. Also kindly let me know whether these two functioalities can be achieved at a time
Harshal
Top achievements
Rank 1
 answered on 14 Apr 2011
2 answers
53 views
Hi,

there are a number of identical/overlapping issues for the color picker, some with a relatively high vote count

Issue ID 514 - ColorPicker: Add option to define custom RGB/HSL colors - 29 votes
Issue ID 986 - ColorPicker: Add color chooser dialog like in MS Word - 15 votes
Issue ID 3525 - ColorPicker: Generate palette colors that are more similar to the Microsoft Word's - 2 votes
Issue ID 4055 - ColorPicker: Gradient color palette - 1 vote

If these were merged the item would have 47 votes which I think puts it second on the list of unscheduled items. Can you tell me if this is likely to be in the next release? We are looking to integrate with various telerik controls, but this one seems to let the wpf control set down rather from a functionality standpoint and does not meet our requirements.

thanks
Trevor
Top achievements
Rank 1
 answered on 14 Apr 2011
1 answer
188 views
Is there a way to have a Listview in ComboBox drop panel?
In other words I need to display a headered table in ComboBox drop panel.
Konstantina
Telerik team
 answered on 14 Apr 2011
2 answers
80 views
Hi Telerik,

I'm trying to retrieve the date of which I have right-clicked.
How can I retrieve a date (in month view) from a given point in the calendar.

Or if it is possible to have right-click also select the date would help me.

What I'm trying to achieve is that I have added a context menu and need to display some checked menu items according to the date being right-clicked (not the selected date).

Thanks in advance!
Best regards,
Kasper Schou
Kasper Schou
Top achievements
Rank 1
 answered on 14 Apr 2011
3 answers
154 views
Hi,

I'm in this simple situation, my Shell contains 2 regions 
in the first region I have a botton with a RoutedCommand associated (RoutedMyCommand)
in the second region I have a RadDocking like this :

<telerikDocking:RadDocking>
    <telerikDocking:RadDocking.DocumentHost>
        <telerikDocking:RadSplitContainer>
            <telerikDocking:RadPaneGroup Regions:RegionManager.RegionName="Body" >
            </telerikDocking:RadPaneGroup>
        </telerikDocking:RadSplitContainer>
    </telerikDocking:RadDocking.DocumentHost>
</telerikDocking:RadDocking>

when I activate a new View ( a new RadPane ) in Body region, the RadPane is initially "Tabbed Document" and it handle correctly the RoutedMyCommand 
when the RadPane becomes "Floating" the RoutedMyCommand is not handled by View. 

Telerik version 2010.3.1110.35

Thanks, Andrea.
George
Telerik team
 answered on 14 Apr 2011
1 answer
110 views
Hi

Can you please guide me - if there is anything in RadGrid which can help me to show "NO DATA FOUND" when underlying collection to the grid doesnt containt any data.

I think for AJAX grid telerik has NoRecordsTemplate which can be used. I didnt find anything for WPF RadGrid.

thanks!

Dharmesh
Maya
Telerik team
 answered on 14 Apr 2011
1 answer
142 views
Hi,

How can I position the insert row at the end of the rows currently in the grid ?

I've only found an example of how to display it after the grid footers.

Thanks,
Maya
Telerik team
 answered on 14 Apr 2011
3 answers
311 views
Hello,

I set up a simple WPF window with two grids side-by-side: A Telerik RADGridView and a Microsoft DataGrid.  Both grids are set up with 2 levels of hierarchy (master-detail), and are bound to the same data (2 master records, each with 1000 detail records).  Both grids have one fixed-width column on the master and detail levels.

On my machine, when I expand a master row on the Microsoft grid for the first time, it takes 4 seconds to display all the details; expanding a master row on the Telerik grid for the first time takes 9 seconds to display the details.

The thing that appears to be taking a long time is rendering the detail rows -- if I limit the height of the detail grid to 200 pixels, it takes less than a second to expand a master for the first time (this is the case with both the Microsoft grid and the Telerik grid).

I reviewed the performance tips/tricks.  Is there anything else I can do to reduce the time it takes to expand a master for the first time in the RADGridView?

Any help is much appreciated!

Here is the XAML and code-behind I'm using:

<Window x:Class="MasterDetailPerformance.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Height="360" Width="760">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="369" />
            <ColumnDefinition Width="369" />
        </Grid.ColumnDefinitions>
 
        <StackPanel Grid.Column="0" Margin="10" Height="300" Width="350">
            <TextBlock Text="Telerik RADGridView:" />
            <telerik:RadGridView x:Name="TelerikMasterGrid" AutoGenerateColumns="False" ShowGroupPanel="False">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Width="200" />
                </telerik:RadGridView.Columns>
                <telerik:RadGridView.ChildTableDefinitions>
                    <telerik:GridViewTableDefinition />
                </telerik:RadGridView.ChildTableDefinitions>
                <telerik:RadGridView.HierarchyChildTemplate>
                    <DataTemplate>
                        <telerik:RadGridView x:Name="TelerikDetailGrid" ItemsSource="{Binding Details}" AutoGenerateColumns="False" ShowGroupPanel="False">
                            <telerik:RadGridView.Columns>
                                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Width="200" />
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>
                    </DataTemplate>
                </telerik:RadGridView.HierarchyChildTemplate>
            </telerik:RadGridView>
        </StackPanel>
 
        <StackPanel Grid.Column="1" Margin="10" Height="300" Width="350">
            <TextBlock Text="Microsoft DataGrid (click row to expand, ctrl-click to collapse):" />
            <DataGrid x:Name="MicrosoftMasterGrid" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected">
                <DataGrid.Columns>
                    <DataGridTextColumn Binding="{Binding Name}" Header="Name" Width="200" />
                </DataGrid.Columns>
                <DataGrid.RowDetailsTemplate>
                    <DataTemplate>
                        <DataGrid x:Name="MicrosoftDetailsGrid" AutoGenerateColumns="False" ItemsSource="{Binding Details}">
                            <DataGrid.Columns>
                                <DataGridTextColumn Binding="{Binding Name}" Width="200" />
                            </DataGrid.Columns>
                        </DataGrid>
                    </DataTemplate>
                </DataGrid.RowDetailsTemplate>
            </DataGrid>
        </StackPanel>
    </Grid>
</Window>

public partial class MainWindow : Window
{
    private IList<Master> masterList = new List<Master>();
 
    public MainWindow()
    {
        InitializeComponent();
        FillMasterList();
        TelerikMasterGrid.ItemsSource = masterList;
        MicrosoftMasterGrid.ItemsSource = masterList;
    }
 
    private void FillMasterList()
    {
        for ( int index = 0; index < 2; ++index )
        {
            masterList.Add(
                new Master()
                {
                    ID = index,
                    Name = index.ToString(),
                    Details = GetDetails()
                } );
        }
    }
 
    private IList<Detail> GetDetails()
    {
        IList<Detail> details = new List<Detail>();
        for ( int index = 0; index < 1000; ++index )
        {
            details.Add( new Detail() { ID = index, Name = index.ToString() } );
        }
        return details;
    }
}
 
public class Master
{
    public int ID { get; set; }
    public string Name { get; set; }
    public IList<Detail> Details { get; set; }
}
 
public class Detail
{
    public int ID { get; set; }
    public string Name { get; set; }
}
Vlad
Telerik team
 answered on 14 Apr 2011
4 answers
383 views
Hello,
    I need to capture the ctrl and shift keys after selecting a row on the grid. I can code something using the SelectionChanged and keydown events but it will take a while to perfect. Has anyone already coded this logic?
Thanks
Charlie
Top achievements
Rank 2
 answered on 13 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?