Hello there,
This topic isn't a question or looking for help, I just wanted to share my experience with one thing that costed me weeks of work and could've been avoided easly.
So, in my WPF application I have 1 quite big page - 12k+ lines of code behind + xaml. Having so big class in application causes, ofc, problems, but what I've had to deal with was memory leaks. Page, mentioned above, is an Order page, consists many elements and data, but what is important is 1 RadGridView - Order Lines GridView. Now, my client expects application to have various styles and colors, so I have few CellStyleSelectors and 1, simple, RowStyle:
<Style TargetType="telerik:GridViewRow" x:Key="NormalStyle" BasedOn="{StaticResource GridViewRowStyle}"> <Setter Property="Background" Value="{Binding Color}" /> <Setter Property="Foreground" Value="Black" /> <Setter Property="BorderThickness" Value="0 0 1 0" /></Style>
It is used to get desired background color from database and set it to row. And here is where my problems have started.
If you don't set such style, color will be, naturally, bound to current application style (default - Office Black), but what will happen, when you declare, that you will provide hex color code and you don't?
I've had some misscomunication problems with my database dev, he had no idea, that he must to provide something in Color column (20-30% of returned rows were Null) and I wasn't aware of that.
And it is a HUGE problem problem for application. Now, I want to share some of my experiences with that:
OrderLinesGrid.IsSearchingDeferred = false;<telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <CheckBox IsChecked="{Binding CzyMagWyprz, Mode=TwoWay}" HorizontalAlignment="Center" Checked="ToggleButton_OnChecked" Unchecked="ToggleButton_OnChecked" /> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate>
Lets compare above 4 points with current state of my application (after fixing problem - correclty returning color):
With checkbox:1. 4.46 s2. 4.59 s3. 4.60 s4. 4.60 s5. 5.76 s~ 4.80 sWithout checkbox:1. 4.46 s2. 3.35 s3. 4.91 s4. 4.34 s5. 3.49 s ~ 4.11 s<telerik:GridViewSelectColumn Name="CheckBoxColumn" EditTriggers="CellClick" > </telerik:GridViewSelectColumn>
As a conclusion, I wanted to point out that XAML really doesn't like null data, when you declare that you will provide not-null data. Remember to be really carefull about it.
Best regards,
Mateusz
Hello, I have a big problem with the RadTreeListView,when I set the ValidatesOnDataErrors to InViewMode. When there is error on the cell I only see the error indicator in the top right corner when I click the cell but if I lost focus on the cell then the error indicator in the corner disappear.

How to change the Tooltip width in appointment and make text not wrapping?
Thanks,
-Jacky

Hello Telerik,
I am getting following exception message: "the calling thread cannot access this object because a different thread owns it".
I have RadDesktopAlertManager inside a separate thread and this error shows up only when DesktopAlert closes itself.
Any idea how to solve it?
Best regards
kourosh

My diagram shape have DropShadowEffect which is setted by style
<Style x:Key="SquidShapeStyle"
TargetType="telerik:RadDiagramShape">
<Setter Property="IsResizingEnabled"
Value="True" />
<Setter Property="IsManipulationAdornerVisible"
Value="True" />
<Setter Property="Focusable"
Value="True" />
<Setter Property="MinHeight"
Value="60" />
<Setter Property="MinWidth"
Value="60" />
<Setter Property="VerticalAlignment"
Value="Stretch" />
<Setter Property="HorizontalAlignment"
Value="Stretch" />
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect Color="#595757"
Opacity="0.6"></DropShadowEffect>
</Setter.Value>
</Setter>
</Style>
When operate as follows
1 select several shapes 2 Zoom in the selection bound , 3 unselect the shapes,
sometimes some shape's DropShadowEffect is not display,it seems the DropShadowEffect is covered by the shape
what is the reason for this? thanks

I have following code
when I clicked something form combobox and have error and return value to old value in that case the selected item in combobox is the last selected
01.public class MyClass02.{03. public int ForeignId04. {05. get06. { 07. return MyObject.ForeignId;08. }09. 10. set11. {12. int oldValue = MyObject.ForeignId;13. 14. try15. {16. MyObject.No = Helper.Help(value)17. }18. catch19. {20. MyObject.ForeignId = oldValue;21. }22. 23. OnPropertyChanged(() => ForeignId);24. }25. }26. 27. public MyObject MyObject{ get; set; }28.}
<telerik:RadComboBox ItemsSource="{Binding ItemList}" DisplayMemberPath="Name" SelectedValuePath="ForeignId" SelectedValue="{Binding ForeignId, Mode=TwoWay, ValidatesOnDataErrors=True, NotifyOnValidationError=True, UpdateSourceTrigger=PropertyChanged}" />

i want to change spacing between every letter ,like /expand in rtf format ,i can't find way to change that.
so as winform richtexteditor
please support it
