Telerik Forums
UI for WPF Forum
1 answer
53 views
Hi friends,

My ItemsSource contains only 1 element. Is there a way to make carousel  show it in the center? Because I'm having to click in nav buttons to make this element appears...
Vanya Pavlova
Telerik team
 answered on 04 Apr 2011
3 answers
183 views
Good afternoon,

There seems to be a problem with the positioning of the RadialGauge needle.
I have two buttons, one to decrement and another to increment the "value" of the needle. As the needle increments from "value" = 1 the positioning doesn't align correctly with gauge ticks.

For example:

Value = 1  - Displays 1
Value = 2 - Displays 1.9
Value = 3 - Displays 2.8
Value = 4 - Displays 3.75
....
Value = 8 - Displays 7.5

Here is my XAML:

<telerik:RadialGauge x:Name="radialGauge" Grid.Row="1"
               Width="300"
               Height="300">
    <telerik:RadialScale Min="1"
                   Max="12">
        <telerik:IndicatorList>
            <telerik:Needle x:Name="needle"  
                            Value="1"
                            IsAnimated="True" 
                            Duration="0:0:2" />
        </telerik:IndicatorList>
    </telerik:RadialScale>
</telerik:RadialGauge>


Is there a fix for this?

*** I have the latest version of the WPF RadControls (2011_1_0315)

Thank you for your time,

Rob
Robert
Top achievements
Rank 1
 answered on 03 Apr 2011
2 answers
94 views
I have a chart that I want to be able to change between stick and candlestick. My app is MVVM based, so how would I do that? Do I need to create two separate charts, one based on stick and one based on candlestick and then just display the one I want?

Pete Davis
Top achievements
Rank 1
 answered on 01 Apr 2011
1 answer
104 views
Is it possible for the user to resize rows?
Ivan Ivanov
Telerik team
 answered on 01 Apr 2011
2 answers
200 views
Hello,
I got a RadTreeView with 1000 items and using Virtualization.
Its definition is:
<telerik:RadTreeView x:Name="MyTree" ContextMenu="{StaticResource ResourceKey=contextManager}"  IsEditable="true"  Grid.Row="1" ItemsSource="{Binding Path=Devices.Children}"   IsLineEnabled="True" SelectionMode="Extended" ItemTemplateSelector="{StaticResource ItemSelector}" ItemContainerStyleSelector="{StaticResource ItemContainerSelector}" IsVirtualizing="true" IsDragDropEnabled="True" IsDragPreviewEnabled="True" IsDragTooltipEnabled="True" IsDropPreviewLineEnabled="True" PreviewDragEnded="TreeView_DragEnded"/>
I'm using a style to set all RadTreeViewItem a context menu like that:
<Style x:Key="DeviceContainerStyle" TargetType="telerik:RadTreeViewItem">
               <Setter Property="IsSelected" Value="{Binding IsSelected,Mode=TwoWay}"/>
               <Setter Property="IsEditable" Value="False"/>
               <Setter Property="IsExpanded" Value="{Binding IsExpanded,Mode=TwoWay}"/>
               <Setter Property="telerik:RadContextMenu.ContextMenu"  Value="{StaticResource ResourceKey=contextDevice}" />
 </Style>
contextDevice is a really simple context menu. with one RadMenuItem in it.

The problem: when scrolling to the bottom of the list and right click an item, the context menu opens fine. But when i scroll back to top of the tree, and right click an item, i get the following exception:

Message: Value cannot be null. Parameter name: format
Stack Trace:    at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at Telerik.Windows.Controls.SRLoader`1.GetString(String defaultNamespace, String name, Object[] args) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Core\Controls\SRLoader.cs:line 78
   at Telerik.Windows.Controls.SR.GetString(String name, Object[] args) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Core\Controls\SR.cs:line 33
   at Telerik.Windows.Controls.RadContextMenu.CreateRootPopup(Popup popup, UIElement child) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 767
   at Telerik.Windows.Controls.RadContextMenu.HookupRootPopup() in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 1168
   at Telerik.Windows.Controls.RadContextMenu.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 658
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.RadContextMenu.set_IsOpen(Boolean value) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 318
   at Telerik.Windows.Controls.RadContextMenu.TriggerEventFired() in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 899
   at Telerik.Windows.Controls.RadContextMenu.OnEventTriggered(Object sender, EventArgs e) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 864
   at Telerik.Windows.Controls.RadContextMenu.RoutedEventFired(Object sender, RoutedEventArgs e) in c:\Builds\WPF_Scrum\Current_HotFix\Sources\Development\Controls\Navigation\Menu\ContextMenu.cs:line 1059
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   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)

Please note that when i set IsVirtualizing=false the problem is solved ! but i get really bad memory consume

Thanks for your help.
Miky.
Petar Mladenov
Telerik team
 answered on 01 Apr 2011
9 answers
188 views

Hi,

I have got question about Docking control for WPF. I am using Docking inside Docking (AllowUnsafeMode set to true). And in the inside Docking I add RadPane,and if I Pinned this RadPane the pinned window is in outsie Dockside, why ? Is this a bug or is this in purpose ?

Regards

George
Telerik team
 answered on 01 Apr 2011
1 answer
132 views
In a master / detail scenario and need to know the best way to lock the selected item/row in the grid.  I tried isenabled and that doesn't seem to do the trick. Ideally I'd like to bind a bool from the vm.
Milan
Telerik team
 answered on 01 Apr 2011
1 answer
119 views

Hi.  I downloaded the soure control for the WPF Controls and noticed that its the .NET 3.5 Framework version.  Is there  a .NET 4.0 version of the code available for download.  Thanks.

Randy
Vlad
Telerik team
 answered on 01 Apr 2011
3 answers
1.2K+ views
Hi,

How i can implement group of Toggle Button, one button will be active at a time.

Please suggest/provide sample code.


Regards, Sreeju
Tina Stancheva
Telerik team
 answered on 31 Mar 2011
1 answer
75 views
Good morning
When I edit a row in TreeListView and confirm the change via Enter, 
the TreeListView always scroll to the first row.
Is there a way to disable this behaviour (aka maintain the edited row into view)?
Thank in advance
Marco
marco
Top achievements
Rank 1
 answered on 31 Mar 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?