Telerik Forums
UI for WPF Forum
1 answer
90 views
After i changed the size of the items (ColumnWidth and RowHeight), i get 
sometimes an ArgumentException when I reorder items per drag-drop.
For the DataTemplate, i use a RadFluidContentControl
System.ArgumentException: '-42,-42,-42,-42' is not a valid value for property 'Padding'.
   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.RadTileView.OnDragInitialized(Object sender, DragInitializeEventArgs args) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 948
   at Telerik.Windows.DragDrop.DragInitializeEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializeEventArgs.cs:line 94
   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 Telerik.Windows.DragDrop.DragInitializer.StartDrag() in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializer.cs:line 169
   at Telerik.Windows.DragDrop.DragInitializer.DragSourcePreviewMouseMove(Object sender, MouseEventArgs e) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializer.cs:line 153
   at System.Windows.Input.MouseEventArgs.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)

Thanks for help
Peter
Zarko
Telerik team
 answered on 14 Sep 2011
1 answer
262 views
Hello,

I was wondering if there is a way to check if a GridViewDataColumn's filter... is active or contains filtering.  I have code that will execute depending if the column has filtering on or not.

Thanks,
Kiet
Rossen Hristov
Telerik team
 answered on 14 Sep 2011
1 answer
91 views
Hi,

I'm using WPF version of Chart component.

How can I get series value in the given X-axis location?

E.g. X-axis type is datetime and Y-axis type is double. So if I want to know series (y) values in specific time, how can I do that? 

Regards,
Auvo
Nikolay
Telerik team
 answered on 14 Sep 2011
1 answer
125 views

when i use metro theme with RadGridView, Font size is very large for filter dropdown.
How to solve it ?

Thank you.
oat
Top achievements
Rank 1
 answered on 13 Sep 2011
0 answers
40 views
TreeListView.ExpandAllHierarchyItems() call takes some time. I want to show wait cursor while the grid is expanding, but I can not find any event where I colud know that expanding is finished.
Max
Top achievements
Rank 1
 asked on 13 Sep 2011
1 answer
94 views
Hi 

I would like to know if there is any sample where I can pin tabs in a RadTabControl. 

Thanks,

Bhavik
Petar Mladenov
Telerik team
 answered on 13 Sep 2011
2 answers
77 views
Is it possible to merge individual cells?
Combinations
Top achievements
Rank 1
 answered on 13 Sep 2011
1 answer
121 views
Hi all..
I want to use a gauge in VB 2010.So I will create a WPF user control project and add this into element host of my Final Winforms project(So now I have 2 projects in my solution). I have implemented this and its working fine also.
Now what I need is the end user ( he will be only using the winforms application) has to use this gauge control dynamically.

to be more specific, he wants to display output in gauge or in graph. so he has two options and he selected gauge and based on the parameters, SQL procedure is executed and the resultant dataset is binded with the gauge.

If he opted for graph then graph should be populated.

How can I achieve this

Thanks and Regards

Renju
Evgenia
Telerik team
 answered on 13 Sep 2011
0 answers
235 views
Hello,

I'm using the Q1 2010 1.319 version of Telerik controls in a WPF application and I have a big mistake with RadGridView control.

When I initialize a RadGridView with a lot of rows, I have a black window which cover the entire screen and this window stays on top until the initialization isn't finished. When I say "on top" I would like to say that I can't see or put on top other windows (I can't back on my desktop too).

Is this problem is known ?


Thanks.
invivo
Top achievements
Rank 1
 asked on 13 Sep 2011
1 answer
237 views
Hi,
I have a databound GridView and a RibbonBarButton conecting it to RadGridViewCommands.BeginInsert.
If there is data available (viewmodel.dataitems.Count > 0) then the BeginInsert Button is enabled, if no data is available - when I usually need the BeginInsert command - the button remains disabled.
If I set ShowInsertRow="True" and click on it, then the Button is enabled as well....

So, how can I enable the RibbonBarButton with Command="telerik:RadGridViewCommands.BeginInsert",  CommandParameter="{Binding IsEnabled}" CommandTarget="my:GridView" for an empty RadGridView?

 Thank you,
Hermann
Maya
Telerik team
 answered on 13 Sep 2011
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?