Telerik Forums
UI for WPF Forum
0 answers
92 views
Removed Duplicate about poor performance in RadTreeListView
Please view question here: http://www.telerik.com/community/forums/wpf/treelist/radtreelistview-poor-performance.aspx
Andrew
Top achievements
Rank 1
 asked on 17 May 2013
1 answer
408 views
Hi!
I'm using RadGridView with Windows 7 theme. I would like to disable the mouse over row highlighting effect. How can I do that?
thanks!
Yoan
Telerik team
 answered on 17 May 2013
1 answer
198 views
Hi,
    I have successfully added  RadLegends to RadChartView.
   The items in the legend showing colors same respective to the all series except for Bar series.
E.g. Legend Item for line series showing same color as line series and same is true for other series like Area,SplineLine.
But in case of Bar series it is showing by default Blue color.
I am applying colors for Bar series by modifying template.
Can you help me regarding this topic?
Thank You.
Petar Marchev
Telerik team
 answered on 17 May 2013
3 answers
152 views
Hi,

I was wondering if it would be possible to add a more detailed search feature to the BreadCrumb bar. I know it currently has a kind of search where typing the name of the item will display matching results for that level (attached currentresults.png). But to get to "Item 1.1.1" I would need to type in "Item 1\Item 1.1\Item 1.1.1". Ideally I'd just like to type in "Item 1.1.1".

I can write the search functionality bit I just need to know what events to listen for (i.e. everytime the user types a letter) and how to display the results.

Any ideas?

Thanks for your help.

Tina Stancheva
Telerik team
 answered on 17 May 2013
2 answers
130 views
Hi!

Is it possible to render the current page of PDFViewer as a bitmap?

Thanks!
Mi
Top achievements
Rank 1
 answered on 17 May 2013
1 answer
550 views
Hi,

I am trying the RadMasked input and i need to restrict the user from typing negative numbers or zero in the numeric textbox mask.

Needha Saran
Shinu
Top achievements
Rank 2
 answered on 17 May 2013
4 answers
214 views
Is it possible, and if so how, to replace the connection line.  For example, we would like to have a double line (instead of a single line).  We've tried changing the Stroke brush, but we did not have success when the orientation of the connection changed.  Thank you in advance.
Matt
Top achievements
Rank 1
 answered on 17 May 2013
3 answers
96 views
Hi,

I am working on the RadDatePicker control on Medium Trust environment and I am getting some error regarding security. I think there is bug with this control when working with Medium Trust Env.

I am getting the below error

05-13 23:16:39.088 [ERROR]%13%10AppDomain.BaseDirectory: <br>System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.%13%10   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)%13%10   <br><br>at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)%13%10   at System.Security.CodeAccessPermission.Demand()%13%10   at MS.Internal.SecurityHelper.DemandUnmanagedCode()%13%10   at System.Windows.Controls.Primitives.Popup.PopupSecurityHelper.SetHitTestable(Boolean hitTestable)%13%10   at 

There are other controls also which are not wotking on Medium Trust Enviorment
RadColorPicker, RadWindow

Please provide some solution for this.

Modified : I found that the controls which open any window (like RadDatePicker, RadWindow.Alert(), RadColorPicker, etc) they don't work on Medium Trust Level because to open window controls uses "mscorlib" dll which is prohibited in medium trust level. This is a bug in Telerik Controls please create a ticket for it.
Alek
Telerik team
 answered on 17 May 2013
1 answer
58 views
Is there a way to make the connections automatically go around the shapes?
Petar Mladenov
Telerik team
 answered on 17 May 2013
2 answers
165 views
This exception doesn't make any sense and it is happening all behind the scenes in Telerik code in another thread and crashes the application.

It is stating that Telerik.Windows.Controls.GridView.ColumnGroupDescriptor is not a Telerik.Windows.Data.IGroupDescriptor which is impossible.  If you review the ColumnGroupDescriptor code it extends GroupDescriptorBase, which implements IGroupDescriptor interface.  So that exception doesn't make any sense as it seems completely impossible for this to occur.

So I would think that the exception TEXT is wrong and something else is occurring.

I am using WPF 2013.1.0220.45 controls.

I hook up to the RadGridView's Grouping event that calls this method on a grouping attempt.

private void GridView_Grouping(object sender, GridViewGroupingEventArgs e)
{
    var columnGroupDescriptor = e.GroupDescriptor as ColumnGroupDescriptor;
 
    if (columnGroupDescriptor != null && searchResultsDataGrid.GroupDescriptors.Count == 0)
    {
        var functions = columnGroupDescriptor.Column.AggregateFunctions;
 
        if (functions.Count == 0)
            functions.Add(new CountFunction() { ResultFormatString = "({0})" });
    }
}

This doesn't directly throw any exceptions it just is the trigger that eventually causes it to be thrown elsewhere.

This by the way used to work just find in the 2010 Q3 release of the WPF controls and only occurs when upgrading from those to the latest 2013 release. As you can see this solution discussed in this thread.

Love to know more about what is going on under the covers and what may be really going on here to find the real issue so that a new solution can be found to provide the CountFunction as a user groups.  I looked at the latest docs and you can do all this in XAML but it forces it to group, it doesn't show how to do set these aggregate functions to be used only when a USER triggers grouping which is the goal to provide group aggregated data for what the user is doing.

System.ArgumentException was unhandled
  HResult=-2147024809
  Message=The value "Telerik.Windows.Controls.GridView.ColumnGroupDescriptor" is not of type "Telerik.Windows.Data.IGroupDescriptor" and cannot be used in this generic collection.
Parameter name: value
  Source=WindowsBase
  ParamName=value
  StackTrace:
       at System.ThrowHelper.ThrowWrongValueTypeArgumentException(Object value, Type targetType)
       at System.Collections.ObjectModel.Collection`1.System.Collections.IList.Insert(Int32 index, Object value)
       at Telerik.Windows.Data.CollectionHelper.Insert(IList target, IEnumerable newItems, Int32 startingIndex, IEqualityComparer itemComparer)
       at Telerik.Windows.Data.ObservableCollectionManager.HandleCollectionChanged(IList sender, NotifyCollectionChangedEventArgs args)
       at Telerik.Windows.Data.ObservableCollectionManager.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs args)
       at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args)
       at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.ObservableItemCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadObservableCollection`1.InsertItem(Int32 index, T item)
       at Telerik.Windows.Controls.GridView.GridViewDataControl.PerformGrouping(IGroupDescriptor descriptor, Nullable`1 insertionIndex, GroupingEventAction action)
       at Telerik.Windows.Controls.GridView.GridViewDataControl.<>c__DisplayClass3e.<RequestGrouping>b__3d()
       at Telerik.Windows.Controls.CursorManager.PerformTimeConsumingOperation(FrameworkElement frameworkElement, Action action)
       at Telerik.Windows.Controls.GridView.GridViewDataControl.RequestGrouping(IGroupDescriptor descriptor, Nullable`1 insertionIndex, GroupingEventAction action)
       at Telerik.Windows.Controls.GridView.DragDropController.OnGroupPanelDrop(Object sender, DragEventArgs e)
       at Telerik.Windows.DragDrop.DragEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at Telerik.Windows.DragDrop.IInputElementExtensions.RaiseEvent(DependencyObject d, RoutedEventArgs routedEventArgs)
       at Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnDragEventHandler(Object sender, DragEventArgs e)
       at Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnDrop(Object sender, DragEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
       at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object data, Int32 dragDropKeyStates, Int64 point, Int32& effects)
       at MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
       at System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
       at System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
       at Telerik.Windows.DragDrop.DragDropManager.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects, DragDropKeyStates initialKeyState, Object dragVisual, Point relativeStartPoint, Point dragVisualOffset)
       at Telerik.Windows.DragDrop.DragInitializer.StartDrag()
       at Telerik.Windows.DragDrop.DragInitializer.StartDragPrivate(UIElement sender)
       at Telerik.Windows.DragDrop.DragInitializer.DragSourceOnMouseMove(Object sender, MouseEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       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.Input.InputManager.ProcessStagingArea()
       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)
       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)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Window.ShowHelper(Object booleanBox)
       at System.Windows.Window.ShowDialog()
Rodney Foley
Top achievements
Rank 1
 answered on 16 May 2013
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?