I am trying to create a template editor for making letters for mailing.
I open up a new form with a RadRichTextEditor and an Editor Ribbon, and then assign a MailMergeDataSource.ItemsSource.
I add a few fields to the documents, and then use a DocxFormatProvider to get a byte[]
That array goes into an event with a Letter object inside. The event handler code is below.
All I want to do, is reload that byte[] into a different RadRichTextEditor, and then display the mailmerge fields like this <<MyCustomField>> and ideally highlight it. Instead, it's just displaying data from the ItemsSource. Below is the code that I think is relevant
private
void
LetterEditor_TemplateSaved(
object
sender, TemplateSavedEventArgs templateSavedEventArgs)
{
var provider =
new
DocxFormatProvider();
var doc = provider.Import(templateSavedEventArgs.Letter.LetterByteArray);
radRichTextEditor1.Document = doc;
radRichTextEditor1.Document.ShowMergeFieldsHighlight = true;
radRichTextEditor1.Document.FieldsDisplayMode = Telerik.WinForms.Documents.Model.FieldDisplayMode.DisplayName;
}
I have the RadGrid properly changing the row backcolor based on the value of one column by utilizing the RowFormatting event handler, but this causes the selected row backcolor to no longer be the normal blue. Is there a way to set the row backcolor without effecting the selected row backcolor?
Thanks,
Greg Swope
As there is no event for Cell Mouse Enter or Cell Mouse Leave for a GridView, What event can I use to change the Mouse Cursor when the mouse hovers over a specific Cell?
I tried using the CellFormatting event to no avail.
01.
Private
Sub
dgvVenItems_CellFormatting(sender
As
Object
, e
As
Telerik.WinControls.UI.CellFormattingEventArgs)
Handles
dgvVenItems.CellFormatting
02.
Dim
font
As
New
System.Drawing.Font(SystemFonts.DialogFont, FontStyle.Underline)
03.
04.
If
e.CellElement.ColumnIndex = 0
Then
05.
e.CellElement.ForeColor = System.Drawing.Color.Blue
06.
e.CellElement.Font = font
07.
dgvVenItems.Cursor = Cursors.Hand
08.
Else
09.
e.CellElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local)
10.
dgvVenItems.Cursor = Cursors.
Default
11.
End
If
12.
End
Sub
In my RadMultiColumnCombobox. I have added two buttons to the EditorControl's GridView area( image 2) . i want to add controls above and below of the radgridview. Also how to change the radgridview's header text color and background as well as alternate row background like the image given below.( image 1).
Please help
I have a DropdownList with almost 20 items in it with Style DropDown When I Start Typing, it's shortlisting the items and obviously there is some item on top of the list, if i typed complete text and then press enter then focus is being transferred on next field automatically and if i don't type complete text of list item and just press enter then it is just closing the list and focus is still within the same DropDownList Control. Which is why user needs to Enter twice to move forward.
What could be the issue or did i missed something to set .
Regards
MSA
We have just bougth DevCraft complete developer for one developer and as a test, downloaded the winform component from https://www.telerik.com/account/my-downloads
well I have two machines that have visual studio and i installed winform component both and i can design at the same time, but i did not add any license (licx file that even i dont know what is, source http://docs.telerik.com/devtools/winforms/licensing/license-file-(licx) )
so i just logon the telerik website and download the winform component exe and installed to the both machine and i can use telerik winform components and build and execute them in different machine.
and i checked that dlls are not trial version (from dll properties)..
I am concerning that several days later will i be warned for license key ? because when i install a product to my customer, after 30 days later, i did not want any problem for the telerik dlls.
I searched also similar topic but did not find a right answer.
Could you inform me about this stuff? and secondly is there any difference between asp.net mvc license, wpf license, winform license etc.
Thank you
PS: I opened this tread in wrong place please delete it.(http://www.telerik.com/forums/telerik-license-algorithm-confuses-me)
Hi,
I have a Polar ChartView with PolarPoint series and a custom background, for evid better the points I need to change the outline of datapoints (ex: 1 pixel of black outside the circle).
I managed to change the shape with PolarPointSeries.Shape and size with .PointSize but I didn't reach the point border props or color.
How I can manage that?
I am an end user with a program built with Telerik. I'm getting the following error when trying to use the application (the provider is useless):
The type initializer for 'Telerik.WinControls.UI.RadTabStripElement' threw an exception.
Any suggestions on why this might be happening or where I can look for a useful error message that might point me in the right direction?
I saw something about fonts on another forum and installed all the Core fonts I could find, but it hasn't helped.