Hello,
I want to change the text color (foreground) of the selected item in a combo box only. The rest of the control should stay as it is.
Can you help me with this?
regards,
Tobias
When playing around with the RadRichTextBox for WPF, the following has been noticed:
1) Type in some text using Calibri font:
2) Insert symbols in Wingdings font by going to Insert and add Symbol:
3) Close the 'Insert Symbol' popup, and start typing from the Keyboard. Notice that only Wingdings symbols are being typed up:
Question: Is this the intended behaviour in Telerik? In Microsoft Word 2013. when you insert a symbol, it does not change the font of the text. In this case, Microsoft Word will let the user type out characters in Calibri font from their keyboard after inserting Wingdings symbols through the Insert Symbols icon present in MS Word. Also, in MS 2013, the font present in the Home page would still be Calibri, it will not change to Wingdings as it does in this example.
Note: The RadRichTextBox being used is from the demo which can be downloaded here: https://demos.telerik.com/wpf/
Is there a way to disable the grouping of categories?
For example, I'm using a bar series and my category values are A, B, B, B, C which are being grouped and shown as A, B, C bars. I would like to display the original 5 separate bars, without grouping.
Hi. I'm trying to asynchronously load data in a ViewModel when the ViewModel is created. Today I am using Catel in my application for MVVM functionality. If the Control is of type Catel.UserControl then an overridden method InitializeAsync is automatically called when the control loads allowing me to async load data.
However, I am migrating this application to use Telerik Docking. For docking to work I need the controls to be of type RadPane or RadDocumentPane. Making this modification breaks Catel's InitializeAsync functionality. So I'm left searching for the best way to asynchronously load data in aTelerik RadPane/RadDocumentPane.
I might have found a working solution, but I wanted to check if there's a better way to do this. The solution I found is to add an interaction trigger that fires an async command on the RadPanes 'Loaded' event. https://newbedev.com/calling-async-method-to-load-data-in-constructor-of-viewmodel-has-a-warning.
Edit: I should note that I'm using the Telerik DockingPrism7 sample.
Current XAML with Catel:
<catel:UserControl xmlns:catel="http://schemas.catelproject.com">
<Grid>
<telerik:RadGridView ItemsSource="{Binding Model}" />
</Grid>
</catel:UserControl>
ViewModel:
public class ObjectViewModel : Catel.MVVM.ViewModelBase
{
/// <summary>
/// Create model and get all tenants.
/// </summary>
/// <param name="tenantBL"></param>
/// <param name="security"></param>
public ObjectViewModel(BL bl) : base()
{
}
/// <summary>
/// Initialize control. Automatically called if Control is of type Catel.UserControl.
/// </summary>
/// <returns>Task</returns>
protected override async Task InitializeAsync()
{
await base.InitializeAsync();
await LoadDataFromBL();
}
/// <summary>
/// Load all data from the business logic.
/// </summary>
/// <returns>Task</returns>
private async Task LoadDataFromBL()
{
await DoSomething();
}
}
Hi Guys,
When i set the chartview, the RadLegend didn't show normally..
I have uploaded my solution.
Best wishes,
JIJIKO
Hello.
this is version 2020.1
I have a scheduler working nicely (lots of customizations...)
Now, I am trying to edit an appointment calling RadScheduleViewCommands.EditAppointment.Execute:
public void EditAppointmentWithDialog(AppointmentDTO appointmentData) { var appo = PersistenceLayer.FindAppointment(appointmentData.ID); ScheduleView.scheduleView.CurrentDate = appo.AppointmentDate; var newAppo = Appointments.FirstOrDefault(app => app.ID == appointmentData.ID); ScheduleView.scheduleView.SelectedAppointment = newAppo; RadScheduleViewCommands.EditAppointment.Execute(null, ScheduleView.scheduleView); }
void IEditableObject.BeginEdit is called, so everything is in place.
If I cancel the edit, everything goes fine.
If I just click Ok in the edit window, void IEditableObject.EndEdit is never called.
I get a null exception error and the program exits.
See the attached file for the exception log.
Thanks!
Hi,
I have a GridView bound to a DataTable. The DataTable contains a combinition of numeric and non numeric columns. Null is a valid value in the the numeric columns. How do I let the user clear an existing numeric value to null?
/Brian
Solved.
I was wondering how I can create a new Aggregation Function and add it to this list of existing Functions in "More Aggregation Options"
In this article I see that they managed to create the 'Sqrt Of Sum' function in WinForms
-> https://docs.telerik.com/devtools/winforms/controls/pivotgrid/custom-aggregation
I would like to know how I can be doing the same to add an Aggregation Function in Options in PivotGrid WPF:
Explanatory Image below:
Thank you!