Telerik Forums
UI for WPF Forum
5 answers
225 views
Imagine a carousel, and on each carousel pane there is something that looks like a vertically oriented business card or a property grid, with interactive data-entry fields. Some of the data fields are textboxes, some are radio button groups, and some are datepickers, some are simple dropdown lists, and one is a "popout" notes field. Is something like this possible in WPF?  Would there be a way to search rapidly through the dataset (it could contain as many as  10,000 items) and when  a match is found, the carousel would "zoom" that record into the focused pane of the carousel?


Maya
Telerik team
 answered on 03 May 2013
0 answers
87 views
Hi
I am looking to Change the AutoHide value using MVVM, but i don't know where is the property that change this.

Please let me know if this can be done using Telerik last version,

Thanks,
Akram
Akram
Top achievements
Rank 1
 asked on 03 May 2013
3 answers
141 views
I'm having issues with multi-selection of my treeview and I'm wondering what I'm doing wrong. I'm trying to get multi-select to work the way I expect on the RadTreeView, however I've found that every time I hold the ctrl key and shift key simultaneously, it seems to ignore the shift key and acts only in the normal ctrl key selection mode (where it selects only the item being clicked, rather than being able to click on an item with the ctrl key, then a second item with ctrl shift and select the new block, leaving any existing selection alone). Normal shift-select works as expected, and normal ctrl-select works just fine too, but ctrl-shift select just seems to work no differently than plain ctrl select, so like its ignoring the shfit key in that circumstance.

If you've read my post history, you may have read that I was trying to override default treeview selection behavior previously, but thankfully the project specification changed to just do the default windows treeview selection style, so I removed all previous overrides of event handlers I had in place and I'm just trying to use extended selection mode.

My xaml:

<UserControl x:Class="LasX.ApplicationFramework.Cad.EntityTreeView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="TreeViewTemplates.xaml" />               
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <telerik:RadTreeView Name="treeView1"
                     HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                     telerik:TreeViewPanel.IsVirtualizing="True"
                     telerik:TreeViewPanel.VirtualizationMode="Recycling"
                     ItemTemplate="{StaticResource EntityDataTemplate}"
                     ItemsSource="{Binding CadEntityManager, UpdateSourceTrigger=PropertyChanged}"
                     ItemContainerStyle="{StaticResource RadTreeViewItemStyle1}"
                     Background="#FF212830"
                     SelectionChanged="treeView1_SelectionChanged"
                     SelectionMode="Extended"
                      >
        </telerik:RadTreeView>
    </Grid>
</UserControl>

Any clues as to what I may be doing wrong?

Thanks!
Tina Stancheva
Telerik team
 answered on 03 May 2013
2 answers
297 views
I am using a RadGridView with a bound QueryableCollectionView.

Virtualization is enabled

Anytime I scroll through the grid, memory usage of the application goes up and up and up, and never comes back down, even after forcing calls to GC.Collect().  Am I missing something here or is there some issue with scrolling through a QueryableCollectionView?

Thanks,
Brandon
Brandon
Top achievements
Rank 1
 answered on 03 May 2013
4 answers
204 views
Hi,

I would like to add conditional formatting to cells in the summary footer row (I want the display values from GridViewColumn.AggregateFunctions to have different background colors based on if they are negative or positive, plus other conditions).

I see that there is a property for GridViewColumn.GroupFooterCellStyleSelector, but what I think I need is one for a property that does not exist in the API:  GridViewColumn.FooterCellStyleSelector...

How should I proceed?

Kind Regards,
Albert
Yoan
Telerik team
 answered on 03 May 2013
1 answer
230 views
I am struggling with how I go about this?  In my VM I have a nullable bool property that I want to bind to a Yes/No(true/false) RadRadioButton.  Can someone point me in the right direction?  

public bool? IsSDS { get; set; }
<telerik:Label Content="Self Directed Support" />
<StackPanel Orientation="Horizontal">
     <telerik:RadRadioButton x:Name="SelfDirectedSupportYes" Content="Yes" />
     <telerik:RadRadioButton x:Name="SelfDirectedSupportNo" Content="No" />
</StackPanel>
Patrick
Top achievements
Rank 2
 answered on 03 May 2013
5 answers
129 views
Hi,

I had installed the free trial of the demos for RadControls and started getting the "Enjoying your RadContolrs for WPF trial?" message when running the installed version of my app but not so when running the app from VS. I have now installed the purchased version of the WPF IU Controls, after uninstalling the free trial, and I’m still getting the message when running the installed version of my app.
Dimitrina
Telerik team
 answered on 03 May 2013
2 answers
68 views
**** SORRY - the title should have read 'DraggedSplitContainer is obsolete' - TYPO ****

Hi,

I'm getting the following warning in VS2010 when using wpf libraries 2013.1.220.40.

'Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs.DraggedSplitContainer' is obsolete: 'This should not be used anymore. Use the DraggedElement property instead.

It's relating to the following code I have for conditional pane docking:

private void RadDocking_PreviewShowCompass(object sender, Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs e)
{
    if (e.TargetGroup != null)
    {
        e.Compass.IsCenterIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Center);
        e.Compass.IsLeftIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Left);
        e.Compass.IsTopIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Top);
        e.Compass.IsRightIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Right);
        e.Compass.IsBottomIndicatorVisible = CanDockIn(e.DraggedSplitContainer, e.TargetGroup, DockPosition.Bottom);
    }
    else
    {
        e.Compass.IsLeftIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Left);
        e.Compass.IsTopIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Top);
        e.Compass.IsRightIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Right);
        e.Compass.IsBottomIndicatorVisible = CanDock(e.DraggedSplitContainer, DockPosition.Bottom);
    }
    e.Canceled = !(CompassNeedsToShow(e.Compass));
}

CanDockIn Method:
private bool CanDockIn(ISplitItem dragged, ISplitItem target, DockPosition position)
{
    // If there is a pane that cannot be dropped in any of the targeted panes.
    return !dragged.EnumeratePanes().Any((RadPane p) => target.EnumeratePanes().Any((RadPane p1) => !CanDockIn(p, p1, position)));
}


Can you offer any suggestions about how I can fix this?

Thank you for your time,

Rob







 
George
Telerik team
 answered on 03 May 2013
2 answers
72 views
Hi there,

I would like to change the row background of the first 5 rows after the data on the grid has been sorted but I am having a couple of issues.

I hook into the Sorted event and get the rows from the grid and I loop through the first five and set the background. This almost works but it only changes the backgrounds of every second row. I think that the AlternateRowBackground set on the grid is overwriting the value I set.

Another issue I am facing is that there are two ways in which I sort the grid. The above approach only works when the user sorts by clicking on a column. However the Sorted event doesn't seem to fire when I add a SortDescriptor in the code-behind and I'm not sure why.

Is there something obvious that I am missing? Or is there a better approach to achieve what I am looking for?

Thanks,

Steven
Steven
Top achievements
Rank 1
 answered on 03 May 2013
1 answer
137 views
Hi,

I need to add a ToggleButton to the Hierarchy Expander column header that automatically appears when using a ChildTableDefinition.  Any suggestions would be greatly appreciated.

Thanks,
Keith
Dimitrina
Telerik team
 answered on 03 May 2013
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?