Telerik Forums
UI for WPF Forum
5 answers
95 views
Running the latest 9/24 SP2 build.  I'm going to include alot of information because I'm honestly not sure what matters and what doesn't.. so forgive some of what may be superfluous information.

I have a datagrid that has its columns generated based on user configuration at run time. {using grid.Columns.Add(x);}

This data grid is 38 columns wide.  Currently 16 of those columns are configured as combo box columns.

10 of them have very short itemsource lists.  (5 - 10 items)
6 of them have considerably longer itemsource lists (900- 2000).

Horizontal scrolling performance is very poor in this case.  CPU spikes to 50% on a Core2 Duo 2.8Ghz with 3GB RAM.

the most common probles I've been informed of is the RadGridView is housed in a container that disables column/row virtualization.  Below is my grid configuration, and my RadGridView declaration

<Grid.RowDefinitions>
    <RowDefinition Height="30" />
    <RowDefinition Height="55" />
    <RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="*"/>            
</Grid.ColumnDefinitions>
<telerik:RadGridView                      
    Grid.Row="2"
    ScrollViewer.HorizontalScrollBarVisibility="Auto"
    ScrollViewer.VerticalScrollBarVisibility="Auto"
    AutoGenerateColumns="false"
    Name="userGridView" 
    SelectionUnit="Cell"  
    ClipboardCopyMode="Default" 
    SelectionMode="Extended" 
    CanUserSortColumns="True"             
    Pasting="userGridView_Pasting"
    Pasted="userGridView_Pasted"
    KeyDown="userGridView_KeyDown"
    ItemsSource="{Binding}"
    telerik:Theming.Theme="Summer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" ></telerik:RadGridView>


What can I do to increase the performance here?  From what I read in the 9/24 release notes, the gridview was supposed to improve performance in these cases.
Jason
Top achievements
Rank 1
 answered on 05 Oct 2010
3 answers
265 views
Please look the attach files.Thanks.
Tina Stancheva
Telerik team
 answered on 05 Oct 2010
1 answer
151 views
Hi guys

Most developers will a combination of your and Microsoft controls to build their applications. However the themes that come with Telerik don't match the MS designs. For consistancy, would Telerik expand their current skin files to include theming of the other MS and toolkit controls?

That is, it's useless to use your skins when they make your controls quite different from the rest of our applications.
Valeri Hristov
Telerik team
 answered on 05 Oct 2010
4 answers
476 views
I'm using the RadWindow static methods for Prompt, Alert, and Confirm.  Everything works great, but since they are static methods, I don't see any way to change the window's theme or style.  I can see in the WPF RadWindow demo that it is being done, but I can't find any code that seems to reflect how the theme is set.  How is this being done?  Is it some application level setting that is being changed?  If so, what if I don't want to apply the theme that I want for my RadWindow to the rest of my application?

-Jason
Pana
Telerik team
 answered on 05 Oct 2010
1 answer
199 views
Hi,

I have only one RadPane in the RadPaneGroup and it's set to AutoHide. I need to set up an event for sliding-out or sliding-in by user's mouse actions. There are some setting in my program that I need to change whenever the RadPane is being shown or hide. I tried all the available events but none get triggered when I hover my mouse over the Tab and the RadPane starts sliding-out and vice versa.

Thanks,
Ramin
George
Telerik team
 answered on 05 Oct 2010
1 answer
105 views
Hello.

I need to remove border lines around RadPanelBarItem.
How can I do it?

Thanks
Petar Mladenov
Telerik team
 answered on 05 Oct 2010
2 answers
457 views
We are getting this internal error....in my team,In some pc's the documents containing radcharts works fine..but on some pcs it gives this error...

   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.LinearSeriesPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\ChartArea\Series\LinearSeriesPanel.cs:line 156
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.ChartPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\ChartArea\ChartPanel.cs:line 44
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.ClipPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\ChartArea\ClipPanel.cs:line 30
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at Telerik.Windows.Controls.Charting.ChartArea.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\ChartArea\ChartArea.Core.cs:line 1205
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.RadDockPanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Core\Controls\Panels\RadDockPanel.cs:line 170
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Telerik.Windows.Controls.Charting.ScalePanel.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\ScalePanel.cs:line 70
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at Telerik.Windows.Controls.RadChart.MeasureOverride(Size availableSize) in c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Chart\Chart\RadChart.cs:line 791
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Canvas.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   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.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at Logic.DashBoard.Application.Main() in D:\WPFProjects\Logic.DashBoard\Logic.DashBoard\obj\x86\Debug\Application.g.vb:line 79
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(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.Threading.ThreadHelper.ThreadStart()


Thanks,
Kapil Garg
Nikolay
Telerik team
 answered on 05 Oct 2010
1 answer
75 views
Has anyone tried to include Winforms and WPF controls in same  Winforms project using Telerik's controls?
I was just curious about what experiences users have had while trying to upgrade  project based on  RadControls for Winforms, by including some WPF controls.

Thanks
Vlad
Telerik team
 answered on 05 Oct 2010
1 answer
146 views
Hi,

I have a tree control sometimes when select a item and go for deleting and before deleting
I check the count,since I am expencting the count to be 1 (trvOutputTree.SelectedItems.Count())
it says count is two, first item is a always DependencyProperty.UnsetValue.
I checked this link: http://msdn.microsoft.com/en-us/library/system.windows.dependencyproperty.unsetvalue.aspx

but dont in this case why its showing this? Are you guys internally using it somewhere?

Thanks,
Bala
Kiril Stanoev
Telerik team
 answered on 04 Oct 2010
2 answers
156 views
Hi,

Is it possible to allow more decimal digits if the user enters more. Say I have NumberDecimalDigits=2 and the user types in 10.123, then the control will show 10.12. I would like it to show 10.123. But if the user types in 10, I would like to show 10.00 (so I can't just change NumberDecimalDigits to 3).

Any suggestions?

Thanks!
Geoff Smith
Top achievements
Rank 1
 answered on 04 Oct 2010
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?