Telerik Forums
UI for WPF Forum
3 answers
105 views
Hi.
When a Docking is saved the width and height of the splitcontainers are serialized in pixels . If the same layout definition would be used on computers with different resolutions the layout would look different. So I would like to serialize the width and height in percentage rather than pixels. Do you have any suggestions on how this could be accomplished?

Arnstein
George
Telerik team
 answered on 04 Apr 2011
1 answer
141 views
Hi,

I noticed when I set the templates and define the fields manually all controls inside the DataForm lost theme.
I noticed this in your example too (DataForm\Manual Data fields definitions.)

any ideas ?

Best regards,
Vanya Pavlova
Telerik team
 answered on 04 Apr 2011
1 answer
116 views
Hello,
We have a need to represent a timeline of upcoming process executions to display to the users how close the current time is to the last execution and how close it is to the upcoming next execution.

It seems that the values and labels on the RadGauge linear gauge are always numeric values.  Is there a way to make the labels date/time values, specifically times?  We only really need a label that = 0 and one that = 100.

Example:  The server process ran at 2:00 PM and it will run again at 4:00 PM.  The current time is 2:45 PM.  We want to show 2:00 PM as the label on the lowest gauge value, e.g. 0, and 4:00 PM for the value for the highest gauge value, e.g. 100, and have a marker at a position that is equivalent to 2:45 PM (without specifically showing that the current time is 2:45 PM).  The closer the time gets to the 4:00 PM or upperbound value the closer to the "red" (literally) the user will be.

Is this possible with the linear RadGauge in horizontal orientation to represent a timeline?  If there is an example or if one could be provided, that would be great as none of the examples/samples I have seen demonstrate something like this.
Andrey
Telerik team
 answered on 04 Apr 2011
3 answers
148 views
When exporting to excel is it possible to keep the same cell styles e.g. background color, text color, etc.? Can you do this with the ElementExporting event perhaps?

My cells formats are not all the same because I am using the cellstyleselector.


Vanya Pavlova
Telerik team
 answered on 04 Apr 2011
1 answer
55 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
191 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
96 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
107 views
Is it possible for the user to resize rows?
Ivan Ivanov
Telerik team
 answered on 01 Apr 2011
2 answers
202 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
191 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
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?