<
telerik:RadDocking
x:Name
=
"radDocking"
Grid.Row
=
"1"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
x:Name
=
"radPaneGroup2"
>
<
telerik:RadPane
x:Name
=
"radPaneTools"
Header
=
"Options"
>
<
StackPanel
>
<
telerik:RadButton
x:Name
=
"btnCustomers"
Content
=
"Customers"
Click
=
"btnCustomers_Click"
/>
</
StackPanel
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
x:Name
=
"radPaneDocuments"
SelectionChanged
=
"radPaneDocuments_SelectionChanged"
>
<
telerik:RadPane
x:Name
=
"radPane1"
Header
=
"Document 1"
>
<
TextBlock
TextWrapping
=
"Wrap"
Text
=
""
></
TextBlock
>
</
telerik:RadPane
>
<
telerik:RadPane
x:Name
=
"radPane2"
Header
=
"Document 2"
>
<
TextBlock
TextWrapping
=
"Wrap"
Text
=
""
></
TextBlock
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
<
Style
TargetType="{x:Type telerik:FilteringControl}>
<
Setter
Property
=
"telerik:StyleManager.Theme"
Value
=
"Office_BlackTheme"
/>
<
Style
>
Hello All,
I have complained in the past about the RadWindow's inability to show consistantly (seen here), and even with Teleriks recomendations to invoke the window via Dispatcher.BeginInvoke(), the simple truth is the window just won't show if the host application is not the active window. But that is another topic and not the focus of this thread.
Currently, I have a need to build a re-authentication function in my application that shows a RadWindow dialog to the user; requesting their credentials. This re-authentication process fires 10 minutes before the user's logon token expires. The issue I'm having is as follows:
My question is this: Is there a way to test for the discover the top most RadWindow dialog before invoking my Re-authentication window? This way I can either minimize it, hide it, or assign it as the Owner of the new dialog. Short of creating my own custom RadWindow class that tracks every window via some private static collection; I don't see a way of accomplishing this beahavior.
- Rashad Rivera
www.omegusprime.com
Hi, i have this serie of data :
liste.Add(new Score() { Level = "L1", Name = "AAA", Status = Status.Success});
liste.Add(new Score() { Level = "L1", Name = "AAA", Status = Status.Unknown});
liste.Add(new Score() { Level = "L1", Name = "AAA", Status = Status.Missed});
liste.Add(new Score() { Level = "L1", Name = "BBB", Status = Status.Success});
liste.Add(new Score() { Level = "L1", Name = "BBB", Status = Status.Unknown});
liste.Add(new Score() { Level = "L1", Name = "BBB", Status = Status.Missed});
liste.Add(new Score() { Level = "L2", Name = "CCC", Status = Status.Success});
liste.Add(new Score() { Level = "L2", Name = "AAA", Status = Status.Unknown);
and i need to provide a stacked bar 100 where the data are first grouped by level, then by name and the
stacked value is the weigth of the status.
So i should get a first bar for AAA with (33%, 33%, 33%) then an other bar with the same values for the L1 group
then a bar for AAA with 100%, and a bar for CCC with 100%
i think it s possible but i can t manage to do it !
And is it possible to display the first two groups with a legend owning only 3 values (Success, Missed, Unknown)
and having only 3 colours in the stacked elements ?
Attached file is a sample of what i want to get
Thx in advance
Startup URI: C:\Users\Justin\Documents\Visual Studio 2010\Projects\WebClient\WebClient\bin\Debug\WebClient.xbap
Application Identity: file:///C:/Users/Justin/Documents/Visual%20Studio%202010/Projects/WebClient/WebClient/bin/Debug/WebClient.xbap#WebClient.xbap, Version=1.0.0.136, Culture=neutral, PublicKeyToken=f179182db26508cc, processorArchitecture=msil/WebClient.exe, Version=1.0.0.136, Culture=neutral, PublicKeyToken=f179182db26508cc, processorArchitecture=msil, type=win32
System.InvalidOperationException: 'System.Windows.Documents.Hyperlink' is not a Visual or Visual3D.
at MS.Internal.Media.VisualTreeUtils.AsVisual(DependencyObject element, Visual& visual, Visual3D& visual3D)
at MS.Internal.Media.VisualTreeUtils.AsNonNullVisual(DependencyObject element, Visual& visual, Visual3D& visual3D)
at System.Windows.Media.Visual.IsAncestorOf(DependencyObject descendant)
at Telerik.Windows.Controls.TabControl.RadTabControlBase`1.UpdateFocusOnSelectionChange() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 193
at Telerik.Windows.Controls.TabControl.RadTabControlBase`1.HandleSelectionChanged(IList removedItems, IList addedItems) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 1025
at Telerik.Windows.Controls.TabControl.RadTabControlBase`1.Selector_SelectionChanged(Object sender, SelectionChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 364
at Telerik.Windows.Controls.RadOutlookBar.Selector_SelectionChanged(Object sender, SelectionChangedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\OutlookBar\RadOutlookBar.cs:line 1092
at System.Windows.Controls.SelectionChangedEventArgs.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.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.Selector.OnSelectionChanged(SelectionChangedEventArgs e)
at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedItems, List`1 selectedItems)
at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(Object item, Boolean assumeInItemsCollection)
at System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
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.TabControl.RadTabControlBase`1.<
SetSelectedindexOnStartUp
>b__e() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 964
at Telerik.Windows.Controls.TabControl.RadTabControlBase`1.SetSelectedindexOnStartUp() in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 974
at Telerik.Windows.Controls.TabControl.RadTabControlBase`1.RadTabControl_Loaded(Object sender, RoutedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TabControl\RadTabControlBase.cs:line 951
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.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.StartDispatcherInBrowser(Object unused)
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)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)