Hi
Apologies if this thread is in the wrong place, I wasn't sure which sub-category was appropriate.
Basically I have a client moving from another system and they have thousands of RadDocuments in there database stored in Xaml and I need to be able to convert them to DocX format.
I thought this would be a simple process but I have hot a wall.
As a test I created a simple WinForm app with the following code:
1.var xaml = textBox1.Text;2.var xamlProvider = new XamlFormatProvider();3.var radDoc = xamlProvider.Import(xaml);However, this throws an exception on the third line:
Cannot create unknown type '{clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents}RadDocument'.
Here is the Xaml I'm trying to import:
<t:RadDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:t="clr-namespace:Telerik.Windows.Documents.Model;assembly=Telerik.Windows.Documents" xmlns:s="clr-namespace:Telerik.Windows.Documents.Model.Styles;assembly=Telerik.Windows.Documents" xmlns:r="clr-namespace:Telerik.Windows.Documents.Model.Revisions;assembly=Telerik.Windows.Documents" xmlns:n="clr-namespace:Telerik.Windows.Documents.Model.Notes;assembly=Telerik.Windows.Documents" xmlns:th="clr-namespace:Telerik.Windows.Documents.Model.Themes;assembly=Telerik.Windows.Documents" version="1.2" LayoutMode="Paged" LineSpacing="1" LineSpacingType="Auto" ParagraphDefaultSpacingAfter="0" ParagraphDefaultSpacingBefore="0" SelectedBibliographicStyleName="\APA.XSL" StyleName="defaultDocumentStyle"> <t:RadDocument.Captions> <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Figure" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" /> <t:CaptionDefinition IsDefault="True" IsLinkedToHeading="False" Label="Table" LinkedHeadingLevel="0" NumberingFormat="Arabic" SeparatorType="Hyphen" /> </t:RadDocument.Captions> <t:RadDocument.ProtectionSettings> <t:DocumentProtectionSettings EnableDocumentProtection="False" Enforce="False" HashingAlgorithm="None" HashingSpinCount="0" ProtectionMode="ReadOnly" /> </t:RadDocument.ProtectionSettings> <t:RadDocument.Styles> <s:StyleDefinition DisplayName="Document Default Style" IsCustom="False" IsDefault="False" IsPrimary="True" Name="defaultDocumentStyle" Type="Default"> <s:StyleDefinition.ParagraphStyle> <s:ParagraphProperties LineSpacing="1" SpacingAfter="0" /> </s:StyleDefinition.ParagraphStyle> <s:StyleDefinition.SpanStyle> <s:SpanProperties FontFamily="Verdana" FontSize="16" FontStyle="Normal" FontWeight="Normal" /> </s:StyleDefinition.SpanStyle> </s:StyleDefinition> <s:StyleDefinition DisplayName="Normal" IsCustom="False" IsDefault="True" IsPrimary="True" Name="Normal" Type="Paragraph" /> <s:StyleDefinition DisplayName="TableNormal" IsCustom="False" IsDefault="True" IsPrimary="True" Name="TableNormal" Type="Table"> <s:StyleDefinition.TableStyle> <s:TableProperties CellPadding="5,0,5,0"> <s:TableProperties.TableLook> <t:TableLook /> </s:TableProperties.TableLook> </s:TableProperties> </s:StyleDefinition.TableStyle> </s:StyleDefinition> </t:RadDocument.Styles> <t:Section> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:FieldRangeStart AnnotationID="1"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="Provider" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" Text="Aviva Life" /> <t:FieldRangeEnd AnnotationID="1" /> <t:Span FontFamily="Arial" FontSize="16" Text=" & Pensions" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" Text="One Park Place" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" Text="Hatch Street" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" Text="Dublin 2" /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0" TextAlignment="Right"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:FieldRangeStart AnnotationID="2"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="Date" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" ForeColor="#FF000000" Text="24 April 2014" /> <t:FieldRangeEnd AnnotationID="2" /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text="Re : " /> <t:FieldRangeStart AnnotationID="3"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="Provider" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text="Aviva Life" /> <t:FieldRangeEnd AnnotationID="3" /> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text=" " /> <t:FieldRangeStart AnnotationID="4"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="ProductType" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text="ARF" /> <t:FieldRangeEnd AnnotationID="4" /> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text=" " /> <t:FieldRangeStart AnnotationID="5"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="PolicyNumber" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text="91445684" /> <t:FieldRangeEnd AnnotationID="5" /> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Italic" FontWeight="Bold" ForeColor="#FF000000" Text=" " /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" Text="I wish to take a one off withdrawal of €10,000 NET from the above policy." /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" Text="Please forward payment at your earliest convenience." /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" ForeColor="#FF000000" Text="I trust you will find the above in order but please contact me should you have any queries." /> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" ForeColor="#FF000000" Text="Kind regards" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="16"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:Span FontFamily="Arial" FontSize="16" ForeColor="#FF000000" Text="_________________________________" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:FieldRangeStart AnnotationID="6"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="ClientName" /> </t:FieldRangeStart> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Normal" FontWeight="Bold" ForeColor="#FF000000" Text="Mr Barry Donnellan" /> <t:FieldRangeEnd AnnotationID="6" /> <t:Span FontFamily="Arial" FontSize="16" FontStyle="Normal" FontWeight="Bold" ForeColor="#FF000000" Text=" " /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="2" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> <t:FieldRangeStart AnnotationID="7"> <t:MergeField DateTimeFormatting="" DisplayMode="Result" GeneralFormatting="" NumericFormatting="" PropertyPath="ConsultantTitle" /> </t:FieldRangeStart> <t:FieldRangeEnd AnnotationID="7" /> </t:Paragraph> <t:Paragraph FontSize="16" LeftIndent="0" LineSpacing="1" LineSpacingType="Auto" SpacingAfter="0"> <t:Paragraph.ParagraphSymbolPropertiesStyle> <s:SpanProperties FontFamily="Arial" FontSize="16" /> </t:Paragraph.ParagraphSymbolPropertiesStyle> </t:Paragraph> <t:Paragraph /> </t:Section></t:RadDocument>Appreciate any help you can give me to get this working.
Thanks.

I have a RadCheckedListBox bound to a list of objects. The RadCheckedListBox's CheckedMember value corresponds to the "IsChecked" property on each object.
Updating that property value on the objects does not update the view on the RadCheckedListBox until the RadCheckedListBox receives focus. Surely this not by design?
Windows 7 Ultimate SP1
.NET 4.5
UI for WinForms Q2 2016
2016.2.503.40
C# code example:
// This code is a simple WinForms project that has a RadCheckedListBox and a regular WinForms CheckBox.
// When the checkbox is checked/unchecked, the "IsChecked" property of the first item in the list (not the control) is toggled.
// Because of the data binding, the first item in the RadCheckedListBox control should be visually updated to reflect the updated state.
public class SimpleObject
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsChecked { get; set; }
}
private IEnumerable<SimpleObject> CreateSimpleObjects()
{
List<SimpleObject> data = new List<SimpleObject>()
{
new SimpleObject() { Id = 1, Name = "Item1", IsChecked = false },
new SimpleObject() { Id = 2, Name = "Item2", IsChecked = true },
new SimpleObject() { Id = 3, Name = "Item3", IsChecked = true },
new SimpleObject() { Id = 4, Name = "Item4", IsChecked = false },
new SimpleObject() { Id = 5, Name = "Item5", IsChecked = false },
new SimpleObject() { Id = 6, Name = "Item6", IsChecked = true }
};
return data;
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
var firstItem = this.radCheckedListBox1.Items[0].DataBoundItem as SimpleObject;
firstItem.IsChecked = !firstItem.IsChecked;
// // This makes it work as expected.
// var activeControl = this.ActiveControl;
// this.ActiveControl = this.radCheckedListBox1;
// this.ActiveControl = activeControl;
}

Hi,
I have an issue with my radAutoCompleteBox :
The displayMember is the name of the customer... but there is many duplicated names in my datasource.
There isn't any problems when user select a new item, the issue is when the autoCompleteBox is initialized.
Example :
I have 3 customers :
Id Name
1 Smith
2 Smith
3 Smith
If user select "Smith" with the ID 2 by the autoCompleteBox, there isn't any problems, the Value of "Smith" will be 2.
But if i want to initialize my autoCompleteBox with "Smith" (2), i can only do this (for me) : autoCompletebox.Text = "Smith".
So, the value of "Smith" will be 1 (and not 2) because autoCompleteBox will take the first value he find.
Is there another way to add items to my autoCompleteBox (something like autoCompleteBox.Items.Add("Smith", 2)) ?
I specify that duplicate rows are normal here, another column is displayed in the dropdownlist of the autoCompleteBox with the customer ID and other fields.
Thank you for your time, i hope you have a solution to help me.


I met this strange problem during compiling VS say me that there is an error about TelerikExport.dll, this is one of several warning error (that blocks compiler)
impossibile risolvere il riferimento primario "TelerikExport" perché include una dipendenza indiretta all'assembly .NET Framework "System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" la cui versione "4.0.0.0" è successiva alla versione "3.0.0.0" nel framework di destinazione corrente.ModuloMaschere
It seems that this dll needs dependence of assembly compiled with FW 4.0, but version assembly id 2016.2.503.20 and not 2016.2.503.4,
is it a mistake?
My project is developed with FW 3.5

Hi, I'm new to Telerik and never used it before, I want to create user login screen for touchscreen device where users images populated on a cylinder shape, and I want to be able to swipe and rotate the cylinder to select user.
How can I accomplish that with Telerik UI for WinForms?
Hi...
I use UI for winforms Q3 2013... I have a radcalendar on my form, what I wanna accomplish is to select more than one column at a time... I setted the allowmultiselect propery to true but didn't help. it even deselects other selectedDays wich i select with normal mouseclick when any column header is clicked... is there any way to select multiple columns as well as selecting any cell by click without deselecting other dates at a time?
thanks...

Hi,
I would like to know how can I implements my WinForms to enable Custom Text for users.
I have tried the "readOnly" attributes set to false but it's not working.
Actually, the list is filled with datasource and with a databoud method, but I want to allow users to enter values in this element.
I made some research but have not found what I searched for.
Please let me know if you need more informations about my problem.
Thant you in advance for your help.
Regards Jeremie

Hi,
I have a CheckBoxColum who's visibility is set within ViewCellFormatting.
I also have a check box in the header to select all.
When the header is checked all rows are updates, visible or not.
On the menu command I loop through all checked rows and output to Excel.
Is there a way to test is a cell is visible and checked within the ContextMenuOpening event?
Cheers
Shaun.

Hello.
I have a Main Form with rad dock and four split panels on it. It all works fine and I'm really happy with the pin, unpin, float and dock prompt. It is a really great control.
My main form background is very dark grey and the when a panel is hidden the text that appears at the side of the main form is dark blue. I wish to change to white or pale grey. Is there a way to alter the text colour?
The attached (crude) image may illustrate what I am seeing.
Many thanks,
Martin.