Telerik Forums
UI for WPF Forum
3 answers
131 views
I am using the the RadDiagramContainerShape. I notice that when you drop a RadDiagramShape
component from the RadDiagramToolbox onto a RadDiagramContainerShape that works fine if there is no other item in the RadDiagramContainerShape.  But if you happen to be dropping a RadDiagramShape into a RadDiagramContainerShape that already has an item in it.  You try dropping this new shape on top of the item already in the container it fails to put the new dropped shape into the container.  But instead puts it under the RadDiagramContainerShape.  Is there way to get it to put into the container not under it?  
Martin Ivanov
Telerik team
 answered on 20 Feb 2014
1 answer
106 views
I have a treeview that is bound to an ObservableCollection<INode>. I use hierarchical templates to show the children property of each node when expanded. I have drag and drop working fine. However, I also want the user to be able to move nodes by right-clicking, opening a context menu, and choosing "Move Selected". This would move the selected leaf nodes to the different parent that was right-clicked. I have it working so that the ObservableCollection<INode> is updated and it updates the database, but the RadTreeView control does not update until the application is reloaded.

My question is how can I make the UI update after moving a node in code-behind.

Thanks,
Curtis
Curtis
Top achievements
Rank 1
 answered on 20 Feb 2014
9 answers
336 views
Hi,

I already have to Grid's (with controls inside) on my Window. How  do I transitions between these two Grid's. XAML code?

/Ken
Dimitrina
Telerik team
 answered on 20 Feb 2014
3 answers
382 views
Hello,

  I have a requirement for a custom control but not exactly sure which control to use or if it is possible. The sceanrio is simple enough with an explanation outlined below. Any ideas will be greatly appreciated!

REQS

control will be used to visualize the start and stop of a sales cycle

- the control will be embedded in a grid row as a column template
- the control needs to look and behave like a slider control
- the control needs to have two thumbs
- first thumb marks the start of a sales period
- the second thumb marks the end of a sales period
- ticks must be in date format
- the second thumb must enable the user to adjust it along the slider to any position but NOT before the first slider

- i looked at the RAD WPF Slider but the ticks dont appear to be able to render in date format nor did i see a way to add multiple thumbs beyond a range
- i looked at the time bar control but that would most likely be too large and overkill for a templated column
- i looked at the RAD time line control but that doesnt appear to be adjustable

Thank You,
Bill Spaulding
Kiril Vandov
Telerik team
 answered on 20 Feb 2014
1 answer
141 views
Hi,

I created a CustomSlotSelectionBehavior class to limit the slots selection in a single day. In the GetSelectionOverride protected method, I use the "pState.CurrentSelection" to determine the date of the initial slot. If the "CurrentSlot.Start" or the "CurrentSlot.End" are not on the same day than the "pState.CurrentSelection", I want to return a new object with the with "pState.CurrentSelection.Start.Date" or "pState.CurrentSelection.End.Date" and I need to know what is the "DayStartTime/DayEndTime" of the viewdefinition to complete my object. So accomplish that, what shoulf I do?

Thank's
Alain
Kalin
Telerik team
 answered on 20 Feb 2014
12 answers
190 views
Hi !

Got this exception using a the Breadcrumb version 2012.1.221.40

Hard to reproduce on will in my application context but happens sometimes. 

Tell me whether you need more information.

Regards,
Phil

===================================
Object reference not set to an instance of an object. (Telerik.Windows.Controls.Navigation)
------------------------------
Program Location:
   at Telerik.Windows.Controls.Breadcrumb.RadBreadcrumbBar.<>c__DisplayClass5.<SafelyRemoveItemFromOverflow>b__4() in c:\TB\105\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Breadcrumb\RadBreadcrumbBar.cs:line 118
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Source code:

                            <telerik:RadBreadcrumb 
                                        HorizontalAlignment="Stretch"
                                        VerticalAlignment="Center"
                                        VerticalContentAlignment="Center"
                                        Header="{Binding AddressBarPresenter.XmlDocument.Root}" 
                                        ItemsSource="{Binding AddressBarPresenter.XmlDocument.Root.AllFields, Mode=OneWay, IsAsync=True}"
                                        TextModePath="XPathName"
                                        Path="{Binding AddressBarPresenter.CurrentXPath, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                        PathSeparator="/"    
                                        IsHistoryEnabled="True"
                                        IsIconVisible="False">
                                <local:Breadcrumb.HeaderTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding XPathName}" />
                                    </DataTemplate>
                                </local:Breadcrumb.HeaderTemplate>
                                <local:Breadcrumb.ItemTemplate>
                                    <HierarchicalDataTemplate ItemsSource="{Binding AllFields, Mode=OneWay, IsAsync=True}">
                                        <HierarchicalDataTemplate.ItemTemplate>
                                            <DataTemplate>
                                                <TextBlock Text="{Binding XPathName}" />
                                            </DataTemplate>
                                        </HierarchicalDataTemplate.ItemTemplate>
                                        <TextBlock Text="{Binding XPathName}" />
                                    </HierarchicalDataTemplate>
                                </local:Breadcrumb.ItemTemplate>
                            </telerik:RadBreadcrumb>
mikels
Top achievements
Rank 1
 answered on 20 Feb 2014
1 answer
71 views
Hi,

I'm using the Office 2013 theme with my control and a week view definition and when I drag an appointment, 2 tooltips appear, 1 at the top indicating the appointment beginning and 1 at he bottom indicating the appointment ending. The problem is when the beginning of the appointment reach the header, the tooltips indicating the beginning of the appointment dissapear immedialty.

You can easily reproduce this issue with your wpf demo using the Office 20013 theme. The Silverlight demo is ok!!!

Thank's
Alain
Yana
Telerik team
 answered on 20 Feb 2014
3 answers
225 views
Hi ,

I am looking to export my grid view into pdf format, how i can do.

Please share code .

Thanks
Yoan
Telerik team
 answered on 20 Feb 2014
6 answers
104 views
I did a search, but was not able to find any threads about this problem, so.

Using the latest Telerik VS Extensions, running VS 2010 version 10.0.40219.1 SP1 Rel. on Win 7 64 bit.  When I install the Microsoft Productivity Power tools ( version 10.0.20626.18, http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/  ) If I try to add references to a C# WPF Project, Visual Studio will abruptly go away.  I am assuming an exception somewhere.  If I uninstall the Telerik VS extensions, everything works great.  If I uninstall the Power Tools but leave the Telerik VS Extensions, everything works great.

So I am assuming that there is a conflict between the Productivity Power Tools and the Telerik VS Extensions in VS 2010.  I really would love to have both of the tools installed. 

Any hints or suggestions?
Thanks
Paul
Petar
Telerik team
 answered on 20 Feb 2014
2 answers
176 views
I have tried in XAML to get footer aggregate results to be shown that way that caption is on left side and result is on right. If column width is changed value should stay to right. I have found some of examples but with no luck for final solution (only with static width I have got it close, but does not work when column widht change).

Here is little example what I want:
Start point:
_____________
| Count         90 |

And when column width is changed result should stay on right:
________________
| Count               90 |

Harri
Top achievements
Rank 1
 answered on 20 Feb 2014
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?