Hi,
We need to implement a TreeListView with dynamic columns, in
order to show kind of "pivot table". We have tried this code but without result, the TreeListView don't recognize the items
object to show data in hierarchical format. the component show only the first
level however data are correctly loaded (when we use the same
ObservableCollection "DataSource" as ItemsSource of a simple TreeView
the hierarchy is correctly shown).
Tks.
How to use the sample canvas from my dictionary instead of LargeImage for the button?
<Canvas x:Key="Users" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="appbar_group" Width="76" Height="76" Clip="F1 M 0,0L 76,0L 76,76L 0,76L 0,0"> <Path Width="50.6667" Height="41.1667" Canvas.Left="12.6667" Canvas.Top="17.4167" Stretch="Fill" Fill="#FF000000" Data="F1 M 38,26.9167C 42.618,26.9167 44.5972,29.5555 43.9312,35.0945C 44.5262,35.4358 44.9271,36.0773 44.9271,36.8125C 44.9271,37.7121 44.3269,38.4715 43.5051,38.7122C 43.1618,39.9358 42.6286,41.0191 41.9583,41.8856L 41.9583,46.0486C 44.1574,46.4884 45.9167,46.7083 48.5555,48.0278C 51.1944,49.3472 52.0741,50.5567 53.8333,52.316L 53.8333,58.5833L 22.1667,58.5833L 22.1666,52.316C 23.9259,50.5567 24.8055,49.3472 27.4444,48.0278C 30.0833,46.7083 31.8426,46.4884 34.0417,46.0486L 34.0417,41.8856C 33.3714,41.0191 32.8382,39.9358 32.4949,38.7121C 31.6731,38.4715 31.0729,37.7121 31.0729,36.8125C 31.0729,36.0773 31.4737,35.4358 32.0688,35.0945C 31.4028,29.5555 33.3819,26.9167 38,26.9167 Z M 25.8611,46.8403C 23.6735,47.9341 23.8824,47.7648 22.6094,49.0834L 12.6667,49.0833L 12.6667,42.816C 14.4259,41.0567 15.3056,39.8472 17.9444,38.5278C 20.5833,37.2083 22.3426,36.9884 24.5417,36.5486L 24.5417,32.3856C 23.8714,31.5191 23.3382,30.4359 22.9949,29.2122C 22.1731,28.9715 21.5729,28.2121 21.5729,27.3125C 21.5729,26.5773 21.9738,25.9358 22.5688,25.5945C 21.9028,20.0556 23.8819,17.4167 28.5,17.4167C 32.8315,17.4167 34.8414,20.9258 34.5246,25.7844C 31.6667,26.9167 30.0833,28.5 30.0896,33.1153C 29.4946,33.4566 29.0938,34.0982 29.0938,34.8333C 29.0938,35.7329 29.2981,36.8882 30.1199,37.1288C 30.4632,38.3525 30.9964,39.4358 31.6667,40.3023L 31.6667,44.8611C 29.4676,45.3009 28.5,45.5208 25.8611,46.8403 Z M 50.1389,46.8403C 47.5,45.5208 46.5324,45.3009 44.3333,44.8611L 44.3333,40.3023C 45.0036,39.4358 45.5368,38.3525 45.8801,37.1288C 46.7019,36.8882 46.9062,35.7329 46.9062,34.8333C 46.9062,34.0982 46.5054,33.4566 45.9104,33.1153C 45.9167,28.5 44.3333,26.9167 41.4754,25.7844C 41.1585,20.9257 43.1685,17.4167 47.5,17.4167C 52.118,17.4167 54.0972,20.0555 53.4312,25.5945C 54.0262,25.9358 54.4271,26.5773 54.4271,27.3125C 54.4271,28.2121 53.8269,28.9715 53.0051,29.2121C 52.6618,30.4358 52.1286,31.5191 51.4583,32.3856L 51.4583,36.5486C 53.6574,36.9884 55.4166,37.2083 58.0555,38.5278C 60.6944,39.8472 61.5741,41.0567 63.3333,42.816L 63.3333,49.0833L 53.3906,49.0833C 52.1176,47.7648 52.3265,47.9341 50.1389,46.8403 Z "/></Canvas>
<telerik:RadCollapsiblePanel> <telerik:RadRibbonButton Text="Users" AllowDrop="True" LargeImage="..\Images\NewEmail.png" Size="Large" telerik:ScreenTip.Title="Users" telerik:ScreenTip.Description="Add or remove Users." telerik:KeyTipService.AccessText="U"Command="{Binding UsersCommand}"/> Dear support,
With GridViewDataColumn.IsReadOnly = false I can set all cells of one column to read/write. But how can I achieve this only for the leaves of every branch?
Thanks in advance
Marcus
Hi,
We are exporting the documents created in RadRichTextBox to PDF files. Then we add a Barcode on the upper right of pages as a new layer. We need to check if the Barcode borders intersects with any document element (text, table, image, etc.) in the document.
First Approach: We ​try to set the caret position to first line, then set to line ending, get the location and check if it intersects with Barcode border.
Problem with this approach: When we get the location of caret position, it returns position offset to the RadRichTextBox control. But we need the offset coordinates ​to the page borders.
Code:
01.for (int i = 2; i <= pageCount; i++)02.{03. RadEditor.Document.CaretPosition.MoveToPage(i);04. RadEditor.Document.CaretPosition.MoveToCurrentLineEnd();05. if ((RadEditor.Document.CaretPosition.Location.X) > 700 && (RadEditor.Document.CaretPosition.Location.Y) < 100)06. {07. // barcode border intersects with the text in the document08. }09.}Second Approach: We can use GetLayoutBoxByPosition method to check if there is an element at the coordinates we will add Barcode border.
Problem with this approach: We should give the position offset ​to the RadRichTextBox but we need to give the position offset to the page borders.
I've attached ​3 images to describe the problem more clearly.
Regards.
Hello,
I've edited the RadTreeListView row template to add additional visuals that I need, but after the modifications an horizontal scrollbar appears and what seems to be an empty column header is added (image attached)
I've seen that the problem lies in the extra visuals I added to the row template, because when I remove the 2 colored borders the empty column header disappears.
Here you can find a sample project that reproduces the issue:
How can I prevent this issue and make the empty column header disapper ?
Thank you for your support.
Hi,
We have a RadGridView binded on DataTable.DefaultView object as ItemsSource.
Our DataTable is define as follow:
A DataRow object is overrided by our own Record object that contains Collection of Property object as ItemArray
public class Record : DataRow, IEquatable<Record>, ICloneable { public Record(DataRowBuilder builder) : base(builder) { } public new Property this[string columnName] { get { return (Property)base[columnName]; } set { SetRowVisibility(value); base[columnName] = value; } }}All Property objects are updated in realtime by a ​thread that changes Property Value
We don't have any problem to see all data updated.
But when we apply a filter on a column, the filter is not reapply automatically when data value changed.
One solution was to remove completely the Row and add it with new values..It 's running for filter, but we have identify several problems with sorting, because Rows are delet​ed/added during sorting thread, that generate an IndexOutOfBoundsException
What's the solution ?
regards,
I have created an Excel spreadsheet using Microsoft Excel 2013. The spreadsheet I created is empty but it has some formatting, e.g. I selected all cells and set text alignment to right. I also selected some of columns and set their type to Number, short date, or general. Is it possible to get these formattings and types from an empty spreadsheet? I already tried this, but it seems that RadHorizontalAlignment is always General, not Right as I would like it to be.