Hi,
This behavior is not the same as Microsoft's TreeViewItem.
If I host let's say multiple RadTreeView in a Docking system, each in a different RadPanel where each TreeView is contained in a UserControl with FocusManager.IsFocusScope = true (this is important for proper RoutedCommand routing), then as I select a node in each treeview and activate different panels, the highlighted "focused" state stays on, they don't turn to gray. I find this very confusing in the UI because now you don't know which treeview has actual focus (other than seeing which panel is active.) Press an arrow key, hmm, I wonder which treeview's will act upon it. :) We also have a mixture of WPF controls and your Rad controls, so they are dealing with lost focus with selection in inconsistent ways.
(This actually occurs for all your controls, like RadGridView and RadPropertyGrid, but I'm picking on the radtreeview for now.)
The main question is: Was this intended behavior? If yes, then I guess I'll move on, sadly (maybe change your source code). I might then ask why you wanted to deviate from Microsoft's default behavior, since generally I'm seeing an effort in most of your controls to try to emulate the WPF controls pretty closely (at least the simple ones :)). Or why you didn't want to provide a property to choose between this behavior or the default (Microsoft) way.
For tech talk, if you use ILSpy and look at WPF's TreeViewItem.ChangeVisualState(), you'll see that Microsoft is looking at IsKeyboardFocused to determine whether to highlight or gray out a treeviewitem. In your RadTreeViewItem.ChangeVisualState(), you are checking IsFocused, which is logical focus, not keyboard focus. That's why all my treeviews show a highlighted blue selected node at the same time.
Hello,
I am using RadGridView in my WPF application along with IDataErrorInfo for Validation.
For every column in the grid, I am currently setting ValidatesOnDataErrors = "InViewMode". In case of validation errors, the cells with errors get a red validation border and the whole row gets a red background (as shown in the attachment).
My requirement is such that I want to remove the red background of the row and show one red validation border on the whole row instead of separate errors on the cells. I also want to remove the red icon from the row (as shown in attachment). So whenever there is an error in any cell, the whole row should get a validation border, and not the individual cells. Is there a way to do this?
When i want to show a telerik report in my application, i get the follow error in the report.
"An error has ocurred while processing Table 'table1'
The assembly xxx is not permitted to be used by an ObjectDataSource component. Please include it in an AssemblyReferences element in the Telerik.Reporting configurarion section of your applicacion configuration file.
i included a configuration file, with my string connections and i seen the follow article :
http://www.telerik.com/forums/the-assembly-xxx-is-not-permitted-to-be-used-in-an-objectdatasource
http://www.telerik.com/support/kb/reporting/details/telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component
but, i don't to solve this problem.
This page (http://docs.telerik.com/devtools/wpf/api/html/t_telerik_windows_controls_data_propertygrid_editing_propertygridpreparededitoreventhandler.htm) lists PropertyGridPreparedEditorEventArgs as the type that the RadPropertyGrid PreparedEditor event should receive. That type doesn't exist (version 2016.1.112.45). If I try to just declare EventArgs, it blows up at run time.
How do I use this event?
I've started with your excellent RadSpreadsheet "First Look" SDK example so I have a dialog that looks a lot like Excel. I can fill in my data nicely.
But what I'd like to do is to add buttons to the spreadsheet. Clicking those buttons would open small modal forms for calculating data which I'd use to update the sheet. I do not see that I can put a button into a cell. Is it possible to put a button onto the spreadsheet?
Thanks.
-reilly.
System.Windows.Markup.XamlParseException was unhandled
Message: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: Zeilennummer "4" und Zeilenposition "17" von "Durch den Aufruf des Konstruktors für Typ "MyNamesspace.MainWindow", der den angegebenen Bindungseinschränkungen entspricht, wurde eine Ausnahme ausgelöst.".
The MainWindow.xaml (Position 4, 17):
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
On the development Computer (where Telerik installed), everything works.
How can I install application at the customer Computer?
Hello,
im a new Telerik customer i just want to ask how to load an existing excel file and fill some data. I cant find some examples.
Maybe somebody can help me out.
Thanks
I have two buttons in my login dialog.
<
telerik:RadButton
x:Name
=
"btnCancel"
Grid.Row
=
"3"
Grid.Column
=
"0"
Grid.ColumnSpan
=
"2"
Width
=
"100"
Height
=
"30"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
Margin
=
"10,5,0,0"
IsCancel
=
"True"
Click
=
"btnCancel_Click"
>Abbrechen</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"btnOK"
Grid.Column
=
"1"
Grid.Row
=
"3"
Width
=
"100"
Height
=
"30"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
Margin
=
"0,5,10,0"
IsDefault
=
"True"
Click
=
"btnOK_Click"
>OK</
telerik:RadButton
>
After I changed the default PasswordBox to the new RadPasswordbox, the user can no longer use the Enter-Key to finish the Login. How can I restore this function?