Telerik Forums
UI for WPF Forum
1 answer
105 views

Hi,

I have a parent grid view which is bound to a datatable. Is it possible to show a hierarchical child grid view for a datatable?

Regards,

Swapnil

Stefan
Telerik team
 answered on 26 Dec 2017
0 answers
75 views

Hi Telerik,

I'm running into a problem.

I have a class that is defined like so:

````

public class User {

  public string Name {get; set; }

  public long Age {get; set; }

  public Dictionary<string, object> CustomProperties {get; private set;} = new Dictionary<string, object>();

}

````

I am having a hard time figuring out what I need to do in order to expose the values in the Dictionary as filterable properties of the RadDataFilter.  I've even gone as far as implementing a custom type descriptor and I'm not getting any joy.

What do I need to do to make this happen?

Tony
Top achievements
Rank 1
 asked on 23 Dec 2017
1 answer
231 views

I have a number of RadComboBoxes in a RadPropertyGrid, and my model has implemented IDataErrorInfo. When the property grid (and combobox) is first loaded, it validates correctly. But, once a value that should be acceptable is selected, the combobox is still marked with an error. Debugging shows that the validation only runs once.

 

How can I have the validation run when the value of the combo box changes?

Kalin
Telerik team
 answered on 22 Dec 2017
1 answer
309 views
Hi, I was looking to trigger an event when my autocomplete box is clicked into. GotFocus works perfectly but is there a way to have the event not fire when a token is clicked on/ Removed.

Kind regards,
Dilyan Traykov
Telerik team
 answered on 22 Dec 2017
1 answer
148 views

Hi,

We are having issues with older road imagery from Bing Maps API. Some roads are not getting displayed on the map.how we can get updated maps ?

ex : for St. Louis (STL) -New highway from Dardenne to Harvester
We are using Telerik.Windows.Controls.RadMap and Telerik.Windows.Controls.Map.BingRestMapProvider in our projects.
We have received information that we need to request the imagery from BingREST imagery and we should  be using the "RoadOnDemand" Imagery Set as per the documentation here: https://msdn.microsoft.com/en-us/library/ff701716.aspx.

Can you help us to understand how to set property ImagerySet to 'RoadOnDemand' for Telerik.Windows.Controls.RadMap that we are using?

.Thanks,

Snehal

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Dec 2017
1 answer
95 views

I try to enable the SelectionMiniToolbar on the RichTextBox but it doesn't show up on selected text.

When it is turned on the external formatting buttons, like B/I/U with ToggleBold/Italic/Underlined() methods are freezing out with System.NullReferenceException.

When the toolbar is not enabled everything is working well.

I think I added every references, list is attached.

Looks like the toolbar didn't initialized properly, checking the richtextbox properties it is not null, just most of it's properties. (not sure it is the expected behaviour).

 

Message:

"Object reference not set to an instance of an object."

 

Stacktrace:

   at Telerik.Windows.Controls.RichTextBoxUI.SelectionMiniToolBar.ToggleBoldCommand_ToggleStateChanged(Object sender, StylePropertyChangedEventArgs`1 e)
   at Telerik.Windows.Documents.RichTextBoxCommands.ToggleCommandBase.OnToggleStateChanged(StylePropertyChangedEventArgs`1 e)
   at Telerik.Windows.Documents.RichTextBoxCommands.ToggleCommandBase.UpdateSpanStyle()
   at Telerik.Windows.Documents.RichTextBoxCommands.RichTextBoxCommandBase.radRichTextBox_CurrentSpanStyleChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Telerik.Windows.Controls.RadRichTextBox.OnCurrentSpanStyleChanged()
   at Telerik.Windows.Controls.RadRichTextBox.CurrentSpanStyle_PropertyValueChanged(Object sender, StylePropertyChangeEventArgs args)
   at Telerik.Windows.Documents.Model.DocumentElement.OnPropertyValueChanged(IStylePropertyDefinition propertyDefinition, Object oldValue, Object newValue)
   at Telerik.Windows.Documents.Model.Styles.StyleProperty`2.OnPropertyValueChanged(TValue oldValue, TValue newValue)
   at Telerik.Windows.Documents.Model.Styles.StyleProperty`2.CheckForValueChange(RadValueSource changedValueSource)
   at Telerik.Windows.Controls.RadRichTextBox.ToggleBold()
   at HeatGun.HeatGunMainWindow.RTB_Note_BoldButton_OnClick(Object sender, RoutedEventArgs e) in D:\Visual Studio Projects\Tegu Solutions\Heat Gun\WindowHeatGunMain\HeatGunMainWindow.xaml.cs:line 243
   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.ButtonBase.OnClick()
   at Telerik.Windows.Controls.RadToggleButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at Telerik.Windows.Controls.RadToggleButton.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, 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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   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 HeatGun.App.Main()

Boby
Telerik team
 answered on 22 Dec 2017
1 answer
90 views

Hello,

 

My team is facing an issue related to the Property Grid component of the WPF, there is an object that has a property of type Point that is represeted as 123.34;1232.34 in the property grid, with a default point value it works however the set value event of the property is not fired when you try to change the value of the textbox, it seems that there is no 2 way binding.

This only happens to that property, so we are suspicious it is because of the type of the property.

 

Can you help us?

 

Thank you

Vladimir Stoyanov
Telerik team
 answered on 21 Dec 2017
2 answers
148 views

Hello,

I have a flexible sized GridView with a fixed bigger dataset (~50 columns * ~50 rows) and I am looking for any kind of more advanced scrolling behavior than the built in one (which is working well but not an option in my case).

So the layout size is bigger than the visible area and I would like to scroll (or pan-move?) easily inside the grid.

My ideas are 

1. Scrolling fluently both way by pressing the middle mouse button, like on a webpage for example.

2. The cells are in readonly mode, so clicking on a cell while moving the mouse maybe also can be a good option to substitute the scrollbar.

 

Do you have any easy solution for this question or maybe any other advice?

 

Tegu
Top achievements
Rank 1
 answered on 20 Dec 2017
2 answers
504 views

Hello,

My typical use case requires importing saved html into the editor. The problem I am having is that sometimes that HTML isn't always perfect and will not have a font family specified. This causes the editor to default to Verdana. For the life of me, I can't seem to figure out how to change that to be some other font. Can someone tell me where Verdana is set as the default font? I've tried setting pretty much every font property I can find, but it doesn't seem to matter when I do the html import.

Thanks!

-Tom

Tom
Top achievements
Rank 1
 answered on 20 Dec 2017
5 answers
132 views

Hi,

1) setting ExpressionEditor.Item = DataRow, the control show correct fields (Names and Types) but it is not working (the result preview is allway empty)

2) Is possible to force a result type? In example, I want a boolean expression.

3) String Functions appears in documentation images but not in real control, why?

Thanks,

marc.

Dilyan Traykov
Telerik team
 answered on 20 Dec 2017
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?