Telerik Forums
UI for WPF Forum
3 answers
181 views
Hi,
How can i open the filtering control popup for a given column code behind?

For example,
private void ShowFilteringControl(GridViewDataColumn column)
{
    myFilteringControl = new ????;
    myFilteringControl.Show();
}

or, something like that?

Thanks.
Dimitrina
Telerik team
 answered on 19 Mar 2015
5 answers
185 views
Hi guys,
My requirements are to load an image as a provider but with JPW mapping details. 
For example:

0.0000478933
0
0
-0.0000313467
44.6320800
48.8499400


I thought about using LocationRect but it is unclear where the parameters in the FILE should be place in the method call. 
Can you please post an example of JPW with image as provider? 

Thanks,
Max.
 
Martin Ivanov
Telerik team
 answered on 19 Mar 2015
1 answer
215 views
I need to style a RadStacked100DataBar similar to the attached picture, or I need to use a different control.  Do you guys have an example of the templates used for the RadStacked100DataBar and how best to re-template them to put a label in the center of each "section". 

Thank You
Paul
Evgenia
Telerik team
 answered on 19 Mar 2015
2 answers
161 views
Hi, I have a problem with candlesticks in CandlestickSeries. They start overlapping over each other after zomming out.
What property is responsible for gaps between candles?

Changing the MinWidth like this doesn't help:
                  <telerik:CandlestickSeries.DefaultVisualStyle>
                        <Style TargetType="telerik:Candlestick">
                            <Setter Property="MinWidth"  Value="1"/>
                        </Style>
                    </telerik:CandlestickSeries.DefaultVisualStyle>

Thanks
Denis
Denis
Top achievements
Rank 1
 answered on 19 Mar 2015
3 answers
120 views
Hi,

After updating the version mentioned on the title, the project started to throw the following exception:

System.NullReferenceException was unhandled
  _HResult=-2147467261
  _message=Object reference not set to an instance of an object.
  HResult=-2147467261
  IsTransient=false
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.Navigation
  StackTrace:
       at Telerik.Windows.Automation.Peers.RadRadialMenuItemAutomationPeer.GetChildrenCore()
       at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
       at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
       at System.Windows.ContextLayoutManager.fireAutomationEvents()
       at System.Windows.ContextLayoutManager.UpdateLayout()
       at System.Windows.UIElement.UpdateLayout()
       at System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
       at System.Windows.Interop.HwndSource.LayoutFilterMessage(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.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  InnerException: 

Kalin
Telerik team
 answered on 19 Mar 2015
1 answer
92 views
Hi,

I have looked into this, and it seems that the RadDiagramNavigationPane can not accept additional buttons? I would like to add a Print button to it, allowing me to print the actual canvas...is this possible?

/HH
Milena
Telerik team
 answered on 19 Mar 2015
5 answers
95 views
Hi guys,

Well, my questions is short as subject: is there possibility to open filter dialog by pressing for instance ALT+C, instead of clicking the filter icon via mouse.

thanks,
Julian
Kasper
Top achievements
Rank 1
 answered on 19 Mar 2015
5 answers
374 views
Hi,
I have some strange behavior. I can not reproduce the error, all I can say is that the error only occurs on my Samsung Tablet Windows 8.1 2 GB of RAM (Touch).

Binary Version: 2014.3.1202.45

Exception Type: System.InvalidOperationException 
Message: Recursive call to Automation Peer API is not valid
Stack trace:
System.Windows.Automation.Peers.AutomationPeer.GetChildren()
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)
at MS.Internal.Automation.ElementProxy.StaticWrap(AutomationPeer peer, AutomationPeer referencePeer)
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
at Telerik.Windows.Automation.Peers.RibbonViewAutomationPeer.GetChildrenCore()
at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at System.Windows.Automation.Peers.AutomationPeer.GetChildren()
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)
at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)
at System.Windows.Automation.Peers.AutomationPeer.AutomationPeerFromInputElement(IInputElement focusedElement)
at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)
at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)
at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)
at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)
at System.Windows.UIElement.Focus()
at System.Windows.Documents.TextEditorMouse.MoveFocusToUiScope(TextEditor This)
at System.Windows.Documents.TextEditorMouse.OnMouseDown(Object sender, MouseButtonEventArgs e)
at System.Windows.Controls.Primitives.TextBoxBase.OnMouseDown(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseDownThunk(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)

Can you please help me with that error.

Regards Markus


Kiril Vandov
Telerik team
 answered on 19 Mar 2015
6 answers
1.1K+ views
I am very confused about RadDateTimePickers formatting behavior. When we set DateSelectionMode to Year, why does it still create a complete date with the selected year but also with day/month from todays date?! This makes absolutely no sense to me. It should display the year only cause that's what my users select - a year, not a full date.

Searching the forums I found several posts showing that we can set a new Culture to define custom ShortDatePattern and LongDatePattern. I did this and changed both formats to "yyyy". Now the control is displaying the year only (yeeha!) but it seems this format is not correct date Format for RadDateTimePickers parser. Checking the ParseDateTime event I can see that e.IsParsingSuccessful is always false now.

So here's the question: How to select a year (yyyy) or month & year (mm/yyyy), display exactly what I've selected in the control's input box AND parse this value as a correct date in code behind?
Nasko
Telerik team
 answered on 19 Mar 2015
7 answers
248 views
Hi team,
I've read quite a lot of documentation of GridView, however could not find a tutorial showing how to create a custom filter control outside of GridView, for example, a select control corresponding some specific column. And the select control is under the GridView. It's not part of the GridView. It's an independent control.
How to do that?

Thanks,
-Jingfei
Jackey
Top achievements
Rank 1
 answered on 19 Mar 2015
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?